mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
Added init stacking
This commit is contained in:
parent
23d45c53cf
commit
c828544d02
@ -5,5 +5,8 @@ params ["_unit"];
|
||||
_unit addEventHandler ["HandleDamage", {_this call FUNC(handleDamage)}];
|
||||
|
||||
if (local _unit) then {
|
||||
[_unit] call FUNC(init);
|
||||
if (!EGVAR(common,settingsInitFinished)) exitWith {
|
||||
EGVAR(common,runAtSettingsInitialized) pushBack [FUNC(init), [_unit]];
|
||||
};
|
||||
[_unit] call FUNC(init);
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user