diff --git a/addons/ui/flexiMenu/fnc_execute.sqf b/addons/ui/flexiMenu/fnc_execute.sqf index dad51d6fb..5424a2afd 100644 --- a/addons/ui/flexiMenu/fnc_execute.sqf +++ b/addons/ui/flexiMenu/fnc_execute.sqf @@ -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'}];