From d8dd91c0f5759c9c2cbbb3755b1e4d75c2064690 Mon Sep 17 00:00:00 2001 From: richard Date: Thu, 30 Oct 2008 22:32:59 +0100 Subject: [PATCH] Improved RefreshList function. --- src/zr/event.inc | 1 - src/zr/zombiereloaded.inc | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/src/zr/event.inc b/src/zr/event.inc index fa84e77..97c3e75 100644 --- a/src/zr/event.inc +++ b/src/zr/event.inc @@ -50,7 +50,6 @@ public Action:RoundStart(Handle:event, const String:name[], bool:dontBroadcast) tInfect = INVALID_HANDLE; } - ZR_PrintToChat(0, "Round objective"); } diff --git a/src/zr/zombiereloaded.inc b/src/zr/zombiereloaded.inc index f9cfd92..0d246a2 100644 --- a/src/zr/zombiereloaded.inc +++ b/src/zr/zombiereloaded.inc @@ -129,7 +129,7 @@ RefreshList() new maxplayers = GetMaxClients(); for (new x = 1; x <= maxplayers; x++) { - if (IsClientInGame(x)) + if (IsClientInGame(x) && IsPlayerAlive(x)) { new team = GetClientTeam(x); if (team == CS_TEAM_T || team == CS_TEAM_CT)