diff --git a/addons/sourcemod/scripting/l4d2_fix_tank_rock_handoff.sp b/addons/sourcemod/scripting/l4d2_fix_tank_rock_handoff.sp index 603fd99ff..dabd646cb 100644 --- a/addons/sourcemod/scripting/l4d2_fix_tank_rock_handoff.sp +++ b/addons/sourcemod/scripting/l4d2_fix_tank_rock_handoff.sp @@ -74,11 +74,11 @@ void CancelPossibleTankThrow(int client) bool IsTank(int client) { - if (client <= 0 || client > MaxClients || IsClientInGame(client)) + if (client <= 0 || client > MaxClients || !IsClientInGame(client)) return false; if (GetClientTeam(client) != L4D_TEAM_INFECTED) return false; return GetEntProp(client, Prop_Send, "m_zombieClass") == L4D2_ZOMBIE_CLASS_TANK; -} \ No newline at end of file +}