mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
Add run at settings initialized auto add objects
This commit is contained in:
parent
a526d33aba
commit
74fd4b4b52
@ -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 {};
|
||||
|
||||
[{
|
||||
|
Loading…
Reference in New Issue
Block a user