Added low memory mode

This commit is contained in:
ineedbots
2021-05-19 20:07:04 -06:00
parent 7a0dc3b7f9
commit e14196e3fc
2 changed files with 40 additions and 3 deletions

View File

@ -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();