Fixed wrong team names in TFC plmenu am41563

This commit is contained in:
Scott Ehlert 2006-07-18 20:18:23 +00:00
parent 51ee2e4846
commit 49f46a5f4c

View File

@ -541,7 +541,7 @@ displayTeamMenu(id, pos)
}
}
len += format(menuBody[len], 511-len, "^n8. %L^n", id, "TRANSF_TO", g_menuOption[id] ? "TERRORIST" : "CT")
len += format(menuBody[len], 511-len, "^n8. %L^n", id, "TRANSF_TO", g_teamNames[g_menuOption[id]])
if (end != g_menuPlayersNum[id])
{
@ -559,7 +559,7 @@ public cmdTeamMenu(id, level, cid)
if (!cmd_access(id, level, cid, 1))
return PLUGIN_HANDLED
g_menuOption[id] = 0
g_menuOption[id] = 1
displayTeamMenu(id, g_menuPosition[id] = 0)