Laser - Reset hud when exiting UAV (#5947)

This commit is contained in:
PabstMirror 2017-12-21 16:49:48 -06:00 committed by GitHub
parent 06db96663f
commit 4cfa64d73a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -15,6 +15,8 @@ if (hasInterface) then {
TRACE_4("ACE_controlledUAV EH",_UAV,_seatAI,_turret,_position); TRACE_4("ACE_controlledUAV EH",_UAV,_seatAI,_turret,_position);
if (!isNull _seatAI) then { if (!isNull _seatAI) then {
[_seatAI] call FUNC(showVehicleHud); [_seatAI] call FUNC(showVehicleHud);
} else {
[ace_player] call FUNC(showVehicleHud);
}; };
}] call CBA_fnc_addEventHandler; }] call CBA_fnc_addEventHandler;
}] call CBA_fnc_addEventHandler; }] call CBA_fnc_addEventHandler;