From 7190d933b43274609a38f39333aa0e0ab20d03c7 Mon Sep 17 00:00:00 2001 From: Borja Ferrer Date: Wed, 15 Mar 2006 16:14:32 +0000 Subject: [PATCH] fixed bug at26204 --- plugins/plmenu.sma | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/plugins/plmenu.sma b/plugins/plmenu.sma index d1272818..5948a574 100755 --- a/plugins/plmenu.sma +++ b/plugins/plmenu.sma @@ -543,6 +543,12 @@ public actionTeamMenu(id, key) if (g_cstrike) { + if (is_user_alive(player)) + { + new deaths = cs_get_user_deaths(player) + user_kill(player, 1) + cs_set_user_deaths(player, deaths) + } cs_set_user_team(player, g_menuOption[id] ? 1 : 2) cs_reset_user_model(player) } else {