From c49bff54b1caf9c4cd5d7ccffde0a2ff466bb25c Mon Sep 17 00:00:00 2001 From: David Anderson Date: Mon, 27 Feb 2006 20:31:50 +0000 Subject: [PATCH] fixed bug at25751 (zor) --- plugins/dod/stats.sma | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/plugins/dod/stats.sma b/plugins/dod/stats.sma index e65fc115..765ad9b1 100755 --- a/plugins/dod/stats.sma +++ b/plugins/dod/stats.sma @@ -549,13 +549,13 @@ public client_damage(attacker,victim,damage,wpnindex,hitplace,TA) /* save state at death */ public client_death(killer,victim,wpnindex,hitplace,TK) -{ - new killer_name[32] - get_user_name(killer,killer_name,31) - +{ if (!is_user_connected(killer) || !is_user_connected(victim)) return PLUGIN_CONTINUE + new killer_name[32] + get_user_name(killer,killer_name,31) + new enemygre = ( ( (wpnindex == DODW_HANDGRENADE || wpnindex == DODW_MILLS_BOMB) && get_user_team(killer) == 2 ) || ( wpnindex == DODW_STICKGRENADE && get_user_team(killer) == 1 ) ) ? 1:0 if ( KillingStreak || KillingStreakSound ){