removing obsolete drag code

#1375
This commit is contained in:
ViperMaul 2015-05-25 10:25:28 -07:00
parent 9a07a9bfd6
commit 3bdb27386c

View File

@ -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)