TeamManager: dont display infection timer during warmup
This commit is contained in:
parent
cca6275c55
commit
69589affea
@ -59,10 +59,13 @@ public void OnMapStart()
|
||||
|
||||
public Action OnWarmupTimer(Handle timer)
|
||||
{
|
||||
ServerCommand("zr_infect_mzombie_countdown 0.0");
|
||||
|
||||
if(g_iMaxWarmup >= g_CVar_sm_warmupmaxtime.IntValue)
|
||||
{
|
||||
g_iMaxWarmup = 0;
|
||||
g_bWarmup = false;
|
||||
ServerCommand("zr_infect_mzombie_countdown 1.0");
|
||||
CS_TerminateRound(3.0, CSRoundEnd_GameStart, false);
|
||||
return Plugin_Stop;
|
||||
}
|
||||
@ -71,6 +74,7 @@ public Action OnWarmupTimer(Handle timer)
|
||||
{
|
||||
g_iWarmup = 0;
|
||||
g_bWarmup = false;
|
||||
ServerCommand("zr_infect_mzombie_countdown 1.0");
|
||||
CS_TerminateRound(3.0, CSRoundEnd_GameStart, false);
|
||||
return Plugin_Stop;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user