mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
Interaction Menu - fix a crash when loading savegames (#7115)
* fix a crash when loading savegames * fix a variable name * optimize * Put CAManBase actions into seperate bucket * Apply suggestions from code review Co-Authored-By: commy2 <commy-2@gmx.de> * Fast exit for All * CaManBase * can't skip mans
This commit is contained in:
@ -122,7 +122,7 @@ private _actions = [_actionsCfg, 0] call _recurseFnc;
|
||||
|
||||
// ace_interaction_fnc_addPassengerAction expects ACE_MainActions to be first
|
||||
// Other mods can change the order that configs are added, so we should verify this now and resort if needed
|
||||
if (_objectType isKindOf "CaManBase") then {
|
||||
if (_objectType isKindOf "CAManBase") then {
|
||||
if ((((_actions select 0) select 0) select 0) != "ACE_MainActions") then {
|
||||
INFO_1("ACE_MainActions not first for man [%1]",_objectType);
|
||||
private _mainActions = [];
|
||||
|
Reference in New Issue
Block a user