maybe fixes last wave not ending?
This commit is contained in:
parent
639361b95f
commit
d57bd5655e
@ -1915,7 +1915,7 @@ public Action UpdateWaveCount(int client)
|
|||||||
g_iHumanCount = humanCount;
|
g_iHumanCount = humanCount;
|
||||||
g_iZombieCount = zombieCount;
|
g_iZombieCount = zombieCount;
|
||||||
}
|
}
|
||||||
if (g_iZMCount == 0 && g_bRoundInProgress)
|
if (g_iZMCount <= 0 && g_bRoundInProgress)
|
||||||
{
|
{
|
||||||
PrintToChatAll("Won Round!");
|
PrintToChatAll("Won Round!");
|
||||||
CS_TerminateRound(4.0, CSRoundEnd_CTWin, true);
|
CS_TerminateRound(4.0, CSRoundEnd_CTWin, true);
|
||||||
|
Loading…
Reference in New Issue
Block a user