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