maybe fixes last wave not ending?

This commit is contained in:
jenz 2024-02-23 23:25:46 +01:00
parent 639361b95f
commit d57bd5655e

View File

@ -1915,7 +1915,7 @@ public Action UpdateWaveCount(int client)
g_iHumanCount = humanCount;
g_iZombieCount = zombieCount;
}
if (g_iZMCount == 0 && g_bRoundInProgress)
if (g_iZMCount <= 0 && g_bRoundInProgress)
{
PrintToChatAll("Won Round!");
CS_TerminateRound(4.0, CSRoundEnd_CTWin, true);