Merge pull request #1772 from acemod/aceModuleSyncronizedObjects

Ace_modules - Pass synced objects to functions
This commit is contained in:
Nicolás Badano 2015-07-01 11:33:03 -03:00
commit f175490298

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 {