mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
Zeus - Fix bis_fnc_activateaddons
error in moduleCurator (#9459)
Close #9445
This commit is contained in:
parent
a5a8b5387a
commit
50fba4545f
@ -73,7 +73,8 @@ if (_activated) then {
|
|||||||
_class = _cfgPatches select _i;
|
_class = _cfgPatches select _i;
|
||||||
if (isclass _class) then {_addons set [count _addons,configname _class];};
|
if (isclass _class) then {_addons set [count _addons,configname _class];};
|
||||||
};
|
};
|
||||||
_addons call bis_fnc_activateaddons;
|
// Modified by ace_zeus - bis_fnc_activateaddons will error if time > 0 so only call if at start
|
||||||
|
if (time <= 0) then { _addons call bis_fnc_activateaddons; };
|
||||||
removeallcuratoraddons _logic;
|
removeallcuratoraddons _logic;
|
||||||
_logic addcuratoraddons _addons;
|
_logic addcuratoraddons _addons;
|
||||||
};
|
};
|
||||||
@ -249,7 +250,8 @@ if (_activated) then {
|
|||||||
} foreach _paramAddons;
|
} foreach _paramAddons;
|
||||||
};
|
};
|
||||||
} foreach (synchronizedobjects _logic);
|
} foreach (synchronizedobjects _logic);
|
||||||
_addons call bis_fnc_activateaddons;
|
// Modified by ace_zeus - bis_fnc_activateaddons will error if time > 0 so only call if at start
|
||||||
|
if (time <= 0) then { _addons call bis_fnc_activateaddons; };
|
||||||
};
|
};
|
||||||
|
|
||||||
//--- Player
|
//--- Player
|
||||||
|
Loading…
Reference in New Issue
Block a user