diff --git a/amxmodx/scripting/ctw.sma b/amxmodx/scripting/ctw.sma index 34a6a80..1addc86 100644 --- a/amxmodx/scripting/ctw.sma +++ b/amxmodx/scripting/ctw.sma @@ -133,7 +133,8 @@ public OnBarTimeEvent(id) g_ePlayerResetMenu = id; } } - SetupTitle(id); + SetGlobalTransTarget(id); + menu_setprop(g_hMenu, MPROP_TITLE, fmt("%l", "CHOOSE_WIRE")); menu_display(id, g_hMenu, 0, iTime); } @@ -283,9 +284,3 @@ HideMenu(id) reset_menu(id); } - -SetupTitle(id) -{ - SetGlobalTransTarget(id); - menu_setprop(g_hMenu, MPROP_TITLE, fmt("%l", "CHOOSE_WIRE")); -}