mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
fix some code was commented out in loadPersonLocal and unloadPersonLocal
This commit is contained in:
parent
24f0df55a2
commit
412685e0ff
@ -41,8 +41,7 @@ if (_slotsOpen) then {
|
||||
|
||||
_vehicle setVariable [QGVAR(loaded_persons), _loaded, true];
|
||||
|
||||
// @todo never used. Remove?
|
||||
/*if !([_unit] call FUNC(isAwake)) then {
|
||||
if !([_unit] call FUNC(isAwake)) then {
|
||||
[{
|
||||
(_this select 0) params ["_unit", "_vehicle"];
|
||||
|
||||
@ -60,5 +59,5 @@ if (_slotsOpen) then {
|
||||
|
||||
[_this select 1] call CBA_fnc_removePerFrameHandler;
|
||||
}, 0.5, [_unit, _vehicle]] call CBA_fnc_addPerFrameHandler;
|
||||
};*/
|
||||
};
|
||||
};
|
||||
|
@ -73,9 +73,7 @@ _unit action ["Eject", vehicle _unit];
|
||||
|
||||
_unit setPosASL AGLToASL _emptyPos;
|
||||
|
||||
// @todo never used. Remove?
|
||||
/*if !([_unit] call FUNC(isAwake)) then {
|
||||
|
||||
if !([_unit] call FUNC(isAwake)) then {
|
||||
TRACE_1("Check if isAwake", [_unit] call FUNC(isAwake));
|
||||
|
||||
if (driver _unit == _unit) then {
|
||||
@ -92,7 +90,7 @@ _unit action ["Eject", vehicle _unit];
|
||||
};
|
||||
}, [_unit, _anim], 0.5, 0] call FUNC(waitAndExecute);
|
||||
};
|
||||
};*/
|
||||
};
|
||||
}, [_unit, _emptyPos], 0.5, 0] call FUNC(waitAndExecute);
|
||||
|
||||
[_unit, false, GROUP_SWITCH_ID, side group _unit] call FUNC(switchToGroupSide);
|
||||
|
Loading…
Reference in New Issue
Block a user