CSMultiplayerRules: no more DeathChecks when the round is already over
This commit is contained in:
parent
c33d084a0c
commit
d2e841d964
1 changed files with 3 additions and 0 deletions
|
@ -749,6 +749,9 @@ CSMultiplayerRules::CountPlayers(void)
|
|||
void
|
||||
CSMultiplayerRules::DeathCheck(NSClientPlayer pl)
|
||||
{
|
||||
if (g_cs_gamestate == GAME_END)
|
||||
return;
|
||||
|
||||
/* hack so that we can kill rounds */
|
||||
if ((g_cs_alive_t == 0) && (g_cs_alive_ct == 0)) {
|
||||
g_cs_gamestate = GAME_ACTIVE;
|
||||
|
|
Loading…
Reference in a new issue