From 49f46a5f4c1c0a01b6e686cb4a316b712ec36ac6 Mon Sep 17 00:00:00 2001 From: Scott Ehlert Date: Tue, 18 Jul 2006 20:18:23 +0000 Subject: [PATCH] Fixed wrong team names in TFC plmenu am41563 --- plugins/tfc/plmenu.sma | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/tfc/plmenu.sma b/plugins/tfc/plmenu.sma index 1ac203d8..ddf94c50 100755 --- a/plugins/tfc/plmenu.sma +++ b/plugins/tfc/plmenu.sma @@ -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)