From 5cfc2df359aa1794a599a7c2de2e4cc2fd4a6484 Mon Sep 17 00:00:00 2001 From: David Anderson Date: Tue, 31 Oct 2006 19:36:47 +0000 Subject: [PATCH] fixed potential in-game bug --- plugins/cstrike/miscstats.sma | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/cstrike/miscstats.sma b/plugins/cstrike/miscstats.sma index a8bc425c..e6462355 100755 --- a/plugins/cstrike/miscstats.sma +++ b/plugins/cstrike/miscstats.sma @@ -310,7 +310,7 @@ public client_death(killer, victim, wpnindex, hitplace, TK) } } - if (EnemyRemaining) + if (EnemyRemaining && is_user_connected(victim)) { new ppl[32], pplnum = 0, maxplayers = get_maxplayers() new epplnum = 0