From d57e2a5ed3e353674d594c9b92e25962b0f4c55a Mon Sep 17 00:00:00 2001 From: PabstMirror Date: Fri, 22 Nov 2024 19:21:29 -0600 Subject: [PATCH] Update addons/missile_hud/XEH_postInit.sqf MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Jouni Järvinen --- addons/missile_hud/XEH_postInit.sqf | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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;