mirror of
https://github.com/acemod/ACE3.git
synced 2025-07-25 12:52:41 +00:00
11 lines
250 B
Plaintext
11 lines
250 B
Plaintext
#include "script_component.hpp"
|
|
|
|
params ["_unit"];
|
|
|
|
if (local _unit) then {
|
|
if (!EGVAR(common,settingsInitFinished)) exitWith {
|
|
EGVAR(common,runAtSettingsInitialized) pushBack [FUNC(init), [_unit]];
|
|
};
|
|
[_unit] call FUNC(init);
|
|
};
|