mirror of
https://github.com/ineedbots/t5_bot_warfare.git
synced 2025-04-20 16:45:43 +00:00
readd bots
This commit is contained in:
parent
fb168485ea
commit
d269beebe9
@ -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.
|
||||
*/
|
||||
|
Loading…
x
Reference in New Issue
Block a user