mirror of
https://github.com/alliedmodders/amxmodx.git
synced 2024-12-25 06:15:37 +03:00
Fixed another Typo.
This commit is contained in:
parent
2ab4a8a44a
commit
5ee794f9f4
@ -746,7 +746,7 @@ public actionTeamMenu(id, key)
|
||||
|
||||
if ( g_CSPlayerCanSwitchFromSpec[player] && g_cstrike && (CS_TEAM_T <= cs_get_user_team(player) <= CS_TEAM_CT))
|
||||
{
|
||||
if (is_user_alive(player) && !g_silent)
|
||||
if (is_user_alive(player) && !g_silent[id])
|
||||
{
|
||||
new deaths = cs_get_user_deaths(player)
|
||||
user_kill(player, 1)
|
||||
@ -756,7 +756,7 @@ public actionTeamMenu(id, key)
|
||||
cs_set_user_team(player, destTeamSlot + 1)
|
||||
|
||||
} else {
|
||||
if (is_user_alive(player) && !g_silent)
|
||||
if (is_user_alive(player) && !g_silent[id])
|
||||
{
|
||||
user_kill(player, 1)
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user