added cvar to determine winning team when time runs out
This commit is contained in:
parent
a095fc67e7
commit
908766a551
|
@ -326,7 +326,10 @@ public Action:RoundEndTimer(Handle:timer)
|
|||
return;
|
||||
}
|
||||
|
||||
// Terminate the round with humans as the winner.
|
||||
new bool:zombies_win = GetConVarBool(g_hCvarsList[CVAR_ROUNDEND_ZOMBIES_WIN]);
|
||||
if (zombies_win)
|
||||
RoundEndTerminateRound(ROUNDEND_DELAY, ZombiesWin);
|
||||
else
|
||||
RoundEndTerminateRound(ROUNDEND_DELAY, HumansWin);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user