]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Ensure team balance entities are removed immediately
authorMario <mario.mario@y7mail.com>
Sun, 19 Jul 2020 13:21:09 +0000 (23:21 +1000)
committerMario <mario.mario@y7mail.com>
Sun, 19 Jul 2020 13:21:09 +0000 (23:21 +1000)
qcsrc/server/teamplay.qc

index 83f1d38568b969c75683d730659838f4240ceacc..d6432d698658f270e9a60764d20f1b720c2cd3d7 100644 (file)
@@ -465,6 +465,7 @@ entity TeamBalance_CheckAllowedTeams(entity for_whom)
                team_ent.m_num_bots = 0;
        }
        setthink(balance, TeamBalance_Destroy);
+       balance.nextthink = time;
 
        int teams_mask = 0;
        string teament_name = string_null;