mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
parent
9a07a9bfd6
commit
3bdb27386c
@ -24,10 +24,4 @@ _drag = if (count _this > 2) then {_this select 2} else {false};
|
||||
if (vehicle _target == _target) exitwith {};
|
||||
if (([_target] call cse_fnc_isAwake)) exitwith {};
|
||||
|
||||
if ([_target] call EFUNC(common,unloadPerson)) then {
|
||||
if (_drag) then {
|
||||
if ((vehicle _caller) == _caller) then {
|
||||
[[_caller, _target], QUOTE(EFUNC(common,unloadPerson)), _caller, false] call EFUNC(common,execRemoteFnc); // TODO replace by event
|
||||
};
|
||||
};
|
||||
};
|
||||
[_target] call EFUNC(common,unloadPerson)
|
Loading…
Reference in New Issue
Block a user