Fixed bug at18607 (lantz69)
This commit is contained in:
parent
eeb77395cd
commit
2e5c71f771
|
@ -326,9 +326,9 @@ displaySlapMenu(id,pos) {
|
||||||
{
|
{
|
||||||
if (cs_get_user_team(i) == CS_TEAM_T)
|
if (cs_get_user_team(i) == CS_TEAM_T)
|
||||||
{
|
{
|
||||||
copy(team, 3, "CT")
|
|
||||||
} else if (cs_get_user_team(i) == CS_TEAM_CT) {
|
|
||||||
copy(team, 3, "TE")
|
copy(team, 3, "TE")
|
||||||
|
} else if (cs_get_user_team(i) == CS_TEAM_CT) {
|
||||||
|
copy(team, 3, "CT")
|
||||||
} else {
|
} else {
|
||||||
get_user_team(i,team,3)
|
get_user_team(i,team,3)
|
||||||
}
|
}
|
||||||
|
@ -545,9 +545,9 @@ displayTeamMenu(id,pos) {
|
||||||
{
|
{
|
||||||
iteam = _:cs_get_user_team(i)
|
iteam = _:cs_get_user_team(i)
|
||||||
if (iteam == 1) {
|
if (iteam == 1) {
|
||||||
copy(team, 3, "CT")
|
|
||||||
} else if (iteam == 2) {
|
|
||||||
copy(team, 3, "TE")
|
copy(team, 3, "TE")
|
||||||
|
} else if (iteam == 2) {
|
||||||
|
copy(team, 3, "CT")
|
||||||
} else {
|
} else {
|
||||||
get_user_team(i,team,3)
|
get_user_team(i,team,3)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user