Skip to content

Commit

Permalink
Fix displaying title for menu
Browse files Browse the repository at this point in the history
  • Loading branch information
Amaroq7 committed Aug 17, 2017
1 parent c63aa6d commit 57bc777
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions amxmodx/scripting/ctw.sma
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}

Expand Down Expand Up @@ -283,9 +284,3 @@ HideMenu(id)

reset_menu(id);
}

SetupTitle(id)
{
SetGlobalTransTarget(id);
menu_setprop(g_hMenu, MPROP_TITLE, fmt("%l", "CHOOSE_WIRE"));
}

0 comments on commit 57bc777

Please sign in to comment.