mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
Changed some spawns to call
This commit is contained in:
parent
a8e257f7ab
commit
eaa44fce6f
@ -19,8 +19,8 @@ _callBack = _this select 4;
|
||||
|
||||
if (isPlayer _target) then {
|
||||
// Pass request on to target locality for player accept/decline.
|
||||
[[_caller, _target, _requestID, _requestMessage, _callBack], QUOTE(FUNC(receiveRequest)), _target, false] spawn EFUNC(common,execRemoteFnc);
|
||||
[[_caller, _target, _requestID, _requestMessage, _callBack], QUOTE(FUNC(receiveRequest)), _target, false] call EFUNC(common,execRemoteFnc);
|
||||
} else {
|
||||
// accept it, since it's an AI.
|
||||
[_caller, _target, true] spawn compile _callBack;
|
||||
[_caller, _target, true] call compile _callBack;
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user