mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
Ace_modules - Pass synced objects to functions
This commit is contained in:
parent
a284cc3f6b
commit
57f88fe77a
@ -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