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;
@ -793,7 +803,6 @@ onBotSpawned()
self thread bot_hq(); self thread bot_hq();
} }
}
/* /*
Bot logic for bot determining to camp. Bot logic for bot determining to camp.