]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Remove remaining monsters when round is won
authorMario <mario.mario@y7mail.com>
Sun, 13 Oct 2013 01:18:07 +0000 (12:18 +1100)
committerMario <mario.mario@y7mail.com>
Sun, 13 Oct 2013 01:18:07 +0000 (12:18 +1100)
qcsrc/server/mutators/gamemode_invasion.qc

index aa69175929a85257f5c56007a2ecf664c5638966..4e339f7c9ac91059a4ce4f4cf97ee70545fcc5d9 100644 (file)
@@ -137,6 +137,9 @@ float Invasion_CheckWinner()
                        winner = head;
                }
        }
+       
+       FOR_EACH_MONSTER(head)
+               monster_remove(head);
 
        if(winner)
        {