mirror of
https://github.com/ineedbots/t5_bot_warfare.git
synced 2025-06-25 05:41:56 +00:00
readd bots
This commit is contained in:
@ -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.
|
||||
*/
|
||||
|
Reference in New Issue
Block a user