This commit is contained in:
Your Name 2020-09-13 17:40:13 -06:00
parent 64ecb325b8
commit 0b5040664e

View File

@ -770,6 +770,16 @@ onBotSpawned()
{ {
self waittill("bot_spawned"); self waittill("bot_spawned");
self thread start_bot_threads();
}
}
start_bot_threads()
{
self endon("disconnect");
level endon("game_ended");
self endon("death");
while(level.inPrematchPeriod) while(level.inPrematchPeriod)
wait 0.05; wait 0.05;
@ -792,7 +802,6 @@ onBotSpawned()
self thread bot_dom_spawn_kill_think(); self thread bot_dom_spawn_kill_think();
self thread bot_hq(); self thread bot_hq();
}
} }
/* /*