Add run at settings initialized auto add objects

This commit is contained in:
Glowbal 2016-05-08 13:47:35 +02:00
parent a526d33aba
commit 74fd4b4b52

View File

@ -15,6 +15,11 @@
params ["_object"];
if !(EGVAR(common,settingsInitFinished)) exitWith {
TRACE_1("pushing to runAtSettingsInitialized", _this);
EGVAR(common,runAtSettingsInitialized) pushBack [FUNC(addObjectToCurator), _this];
};
if (!(_object getVariable [QGVAR(addObject), GVAR(autoAddObjects)])) exitWith {};
[{