Teammanager: Remove obsolete code

This commit is contained in:
zaCade 2017-03-02 00:33:46 +01:00
parent 08ac49923d
commit 7b80848cd0

View File

@ -13,7 +13,6 @@ ConVar g_CVar_sm_warmupratio;
bool g_bRoundEnded = false;
bool g_bZombieSpawned = false;
bool g_bIgnoreGameStart = false;
int g_TeamChangeQueue[MAXPLAYERS + 1] = { -1, ... };
public Plugin myinfo =
@ -182,13 +181,6 @@ public void OnRoundEnd(Event event, const char[] name, bool dontBroadcast)
public Action CS_OnTerminateRound(float &delay, CSRoundEndReason &reason)
{
if(reason == CSRoundEnd_GameStart && g_bIgnoreGameStart)
{
g_bIgnoreGameStart = false;
return Plugin_Handled;
}
if(g_bWarmup)
return Plugin_Handled;
@ -201,10 +193,7 @@ public Action ZR_OnClientInfect(int &client, int &attacker, bool &motherInfect,
return Plugin_Handled;
if(motherInfect)
{
g_bIgnoreGameStart = true;
g_bZombieSpawned = true;
}
return Plugin_Continue;
}