From 2eb378554f07fdeaa87185f9cf1e1c5f28bfe494 Mon Sep 17 00:00:00 2001 From: commy2 Date: Sat, 16 Mar 2019 13:13:20 +0100 Subject: [PATCH] fix flexi menu error from 3.10 (#1098) --- 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'}];