mirror of
https://github.com/ineedbots/iw4_bot_warfare.git
synced 2025-06-28 07:01:49 +00:00
Added low memory mode
This commit is contained in:
@ -23,6 +23,11 @@ init()
|
||||
if (!getDvarInt("bots_main"))
|
||||
return;
|
||||
|
||||
if(getDvar("bots_main_lowmem") == "")
|
||||
setDvar("bots_main_lowmem", false);//lower memory usage mode, more cpu
|
||||
|
||||
level.bots_lowmem = getDvarInt("bots_main_lowmem");
|
||||
|
||||
thread load_waypoints();
|
||||
thread hook_callbacks();
|
||||
|
||||
|
Reference in New Issue
Block a user