Merge branch 'master' into chatter-fixes-and-improvements
This commit is contained in:
commit
862b409e92
1 changed files with 1 additions and 1 deletions
|
|
@ -690,7 +690,7 @@ void BotManager::killAllBots (int team, bool silent) {
|
||||||
// this function kills all bots on server (only this dll controlled bots)
|
// this function kills all bots on server (only this dll controlled bots)
|
||||||
|
|
||||||
for (const auto &bot : m_bots) {
|
for (const auto &bot : m_bots) {
|
||||||
if (team != -1 && game.getRealTeam (bot->ent ())) {
|
if (team != -1 && game.getRealTeam (bot->ent ()) != team) {
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
bot->kill ();
|
bot->kill ();
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue