From 524e4e2a2adc5351f01aba06c590159bf8774b88 Mon Sep 17 00:00:00 2001 From: Proddy Date: Mon, 1 Jul 2024 22:18:57 +0100 Subject: [PATCH] Fixed `MissionVehicle` breaking the HUD --- Randomiser/Resources/Modules/Vehicles/MissionVehicle.lua | 1 + 1 file changed, 1 insertion(+) diff --git a/Randomiser/Resources/Modules/Vehicles/MissionVehicle.lua b/Randomiser/Resources/Modules/Vehicles/MissionVehicle.lua index 3cb2d04..debcc21 100644 --- a/Randomiser/Resources/Modules/Vehicles/MissionVehicle.lua +++ b/Randomiser/Resources/Modules/Vehicles/MissionVehicle.lua @@ -113,6 +113,7 @@ RandomMissionVehicle:AddMissionHandler(function(LevelNumber, MissionNumber, Miss for i=#functions,1,-1 do if functions[i].Name:lower() == "closestage" then + MissionInit:InsertFunction(i, "SetFadeOut", 0.1) MissionInit:InsertFunction(i, "SwapInDefaultCar") break end