Skip to content

Commit

Permalink
Update addons/missile_hud/XEH_postInit.sqf
Browse files Browse the repository at this point in the history
Co-authored-by: Jouni Järvinen <[email protected]>
  • Loading branch information
PabstMirror and rautamiekka authored Nov 23, 2024
1 parent 807fb07 commit d57e2a5
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions addons/missile_hud/XEH_postInit.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down

0 comments on commit d57e2a5

Please sign in to comment.