Kicking last zombie prevents round from ending
Frozen-H2O opened this issue · 1 comments
Frozen-H2O commented
If the last living zombie is kicked from the server after zombie respawning is disabled, the round will not end.
Presumably the same thing will happen when the last zombie simply disconnects without a kick, but I did not test if that happened.
Vauff commented
Lines 1595 to 1602 in ba6f83d
They fail the null checks, but we also need pawn to get the team.
Ice:
"If disconnects dont give team info, why not just check both teams' win conditions when there is no controller/pawn? and if first win check for ZMs returns true, just skip the CTs' win check (in case everyone is dead)"