Don't compile action menu for playable logics (#4666)

Fix #4664
This commit is contained in:
PabstMirror 2016-11-12 19:39:40 -06:00 committed by GitHub
parent 3935299e3c
commit e32bca3d14

View File

@ -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);