From e32bca3d140d22f59c5c88ea384fb70e248977d5 Mon Sep 17 00:00:00 2001 From: PabstMirror Date: Sat, 12 Nov 2016 19:39:40 -0600 Subject: [PATCH] Don't compile action menu for playable logics (#4666) Fix #4664 --- addons/interact_menu/functions/fnc_compileMenu.sqf | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/addons/interact_menu/functions/fnc_compileMenu.sqf b/addons/interact_menu/functions/fnc_compileMenu.sqf index 78232af4e2..225ebc59b4 100644 --- a/addons/interact_menu/functions/fnc_compileMenu.sqf +++ b/addons/interact_menu/functions/fnc_compileMenu.sqf @@ -99,6 +99,11 @@ private _recurseFnc = { _actions }; +if ((getNumber (configFile >> "CfgVehicles" >> _objectType >> "isPlayableLogic")) == 1) exitWith { + TRACE_1("skipping playable logic",_objectType); + _namespace setVariable [_objectType, []]; +}; + private _actionsCfg = configFile >> "CfgVehicles" >> _objectType >> "ACE_Actions"; TRACE_1("Building ACE_Actions",_objectType);