readd bots

This commit is contained in:
INeedBots 2021-01-09 23:02:10 -06:00
parent fb168485ea
commit d269beebe9

View File

@ -79,10 +79,8 @@ init()
thread fixGamemodes();
thread onPlayerConnect();
thread diffBots();
thread teamBots();
thread addBots();
thread handleBots();
thread doNonDediBots();
}
@ -102,6 +100,21 @@ onPlayerConnect()
}
}
/*
Starts the threads for bots.
*/
handleBots()
{
thread diffBots();
thread teamBots();
addBots();
while(!level.intermission)
wait 0.05;
setDvar("bots_manage_add", getBotArray().size);
}
/*
When a bot disconnects.
*/