diff --git a/src/zr/cvars.inc b/src/zr/cvars.inc index 6b16f59..17da431 100644 --- a/src/zr/cvars.inc +++ b/src/zr/cvars.inc @@ -100,6 +100,7 @@ enum CvarsList Handle:CVAR_ROUNDEND_OVERLAY_ZOMBIE, Handle:CVAR_ROUNDEND_OVERLAY_HUMAN, Handle:CVAR_ROUNDEND_BALANCE_TEAMS, + Handle:CVAR_ROUNDEND_ZOMBIES_WIN, Handle:CVAR_INFECT_SPAWNTIME_MIN, Handle:CVAR_INFECT_SPAWNTIME_MAX, Handle:CVAR_INFECT_CONSECUTIVE_BLOCK, diff --git a/src/zr/roundend.inc b/src/zr/roundend.inc index 50298b8..b3ed7d9 100644 --- a/src/zr/roundend.inc +++ b/src/zr/roundend.inc @@ -328,9 +328,9 @@ public Action:RoundEndTimer(Handle:timer) new bool:zombies_win = GetConVarBool(g_hCvarsList[CVAR_ROUNDEND_ZOMBIES_WIN]); if (zombies_win) - RoundEndTerminateRound(ROUNDEND_DELAY, ZombiesWin); - else - RoundEndTerminateRound(ROUNDEND_DELAY, HumansWin); + RoundEndTerminateRound(ROUNDEND_DELAY, ZombiesWin); + else + RoundEndTerminateRound(ROUNDEND_DELAY, HumansWin); } /**