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

@ -188,7 +188,7 @@ public OnClientDisconnect(client)
{
if (debug_val > 1)
{
Format(debug_msg, sizeof(debug_msg), "PlayerDeath - Killing timer %i with handle %x.", x, tHandles[client][x]);
Format(debug_msg, sizeof(debug_msg), "OnClientDisconnect - Killing timer %i with handle %x.", x, tHandles[client][x]);
ZR_DebugPrintToConsole(0, debug_msg);
}
KillTimer(tHandles[client][x]);