From 1795b815f5dd5ce5ed5ddc000171ad5fccdcad7a Mon Sep 17 00:00:00 2001 From: commy2 Date: Fri, 15 Mar 2019 17:45:18 +0100 Subject: [PATCH] fix flexi menu error from 3.10 --- addons/ui/flexiMenu/fnc_execute.sqf | 1 + 1 file changed, 1 insertion(+) 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'}];