1
0
mirror of https://github.com/ineedbots/iw5_bot_warfare.git synced 2026-03-22 18:43:03 +00:00

Added low mem mode

This commit is contained in:
ineedbots
2021-05-19 20:13:18 -06:00
parent 1e5c65eafb
commit 215ea9c6c1
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();