Fixed invalid timer handle errors. Fixed client not in game error in ZR_DebugPrintToConsole.

This commit is contained in:
richard
2008-11-13 17:03:28 +01:00
parent 0d4b57e629
commit 99373d5720
5 changed files with 9 additions and 8 deletions

View File

@ -892,8 +892,7 @@ public Action:RespawnTimer(Handle:timer, any:index)
new team = GetClientTeam(index);
if (!IsClientInGame(index) || IsPlayerAlive(index) || team != CS_TEAM_T && team != CS_TEAM_CT)
{
tHandles[index][TZHP] = INVALID_HANDLE;
tHandles[index][TRESPAWN] = INVALID_HANDLE;
return;
}