Ace_modules - Pass synced objects to functions

This commit is contained in:
PabstMirror 2015-07-01 01:53:15 -05:00
parent a284cc3f6b
commit 57f88fe77a

View File

@ -26,12 +26,8 @@
_function = missionNamespace getvariable _function;
};
if (_isGlobal) then {
[_logic, [], true] call _function;
} else {
if (isServer) then {
[_logic, [], true] call _function;
};
if (_isGlobal || isServer) then {
[_logic, (synchronizedObjects _logic), true] call _function;
};
if !(_isPersistent) then {