Fixed bug at18607 (lantz69)

This commit is contained in:
David Anderson 2005-09-11 07:19:06 +00:00
parent 2e5c71f771
commit 95ccd6078c

View File

@ -499,6 +499,7 @@ public actionTeamMenu(id,key) {
if (g_cstrike) if (g_cstrike)
{ {
cs_set_user_team(player, g_menuOption[id] ? 1 : 2) cs_set_user_team(player, g_menuOption[id] ? 1 : 2)
cs_reset_user_model(player)
} else { } else {
new limit_setting = get_cvar_num("mp_limitteams") new limit_setting = get_cvar_num("mp_limitteams")
set_cvar_num("mp_limitteams", 0) set_cvar_num("mp_limitteams", 0)