fixed bug at26204

This commit is contained in:
Borja Ferrer 2006-03-15 16:14:32 +00:00
parent 3699796bc6
commit 7190d933b4

View File

@ -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 {