diff --git a/addons/missile_hud/XEH_postInit.sqf b/addons/missile_hud/XEH_postInit.sqf index 5bb0f4b8164..2184a01e20a 100644 --- a/addons/missile_hud/XEH_postInit.sqf +++ b/addons/missile_hud/XEH_postInit.sqf @@ -18,10 +18,10 @@ if (hasInterface) then { ["ACE_controlledUAV", { params ["_UAV", "_seatAI", "_turret", "_position"]; TRACE_4("ACE_controlledUAV EH",_UAV,_seatAI,_turret,_position); - if (!isNull _seatAI) then { - [_seatAI] call FUNC(showVehicleHud); - } else { + if (isNull _seatAI) then { [ace_player] call FUNC(showVehicleHud); + } else { + [_seatAI] call FUNC(showVehicleHud); }; }] call CBA_fnc_addEventHandler;