Skip to content

Commit

Permalink
fix flexi menu error from 3.10 (#1098)
Browse files Browse the repository at this point in the history
  • Loading branch information
commy2 committed Mar 16, 2019
1 parent 93d7cab commit 2eb3785
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions addons/ui/flexiMenu/fnc_execute.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ if (_actionCode isEqualType {}) then {
// show sub menu
if (_subMenuSource != "") then {
// TODO: Find a way to combine the menu and list scripts together.
#define PATHTO_SUB(var1,var2,var3,var4) MAINPREFIX\##var1\SUBPREFIX\##var2\##var3\##var4.sqf
private _pathName = QUOTE(PATHTO_SUB(PREFIX,COMPONENT_F,flexiMenu,%1));
_pathName = format [_pathName, if (_useListBox == 0) then {'fnc_menu'} else {'fnc_list'}];

Expand Down

0 comments on commit 2eb3785

Please sign in to comment.