mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
Merge pull request #1772 from acemod/aceModuleSyncronizedObjects
Ace_modules - Pass synced objects to functions
This commit is contained in:
commit
f175490298
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user