diff --git a/Randomiser/Resources/Modules/Vehicles/MissionVehicle.lua b/Randomiser/Resources/Modules/Vehicles/MissionVehicle.lua index 16c44a6..3cb2d04 100644 --- a/Randomiser/Resources/Modules/Vehicles/MissionVehicle.lua +++ b/Randomiser/Resources/Modules/Vehicles/MissionVehicle.lua @@ -110,6 +110,14 @@ RandomMissionVehicle:AddMissionHandler(function(LevelNumber, MissionNumber, Miss Index = Index + 1 end + + for i=#functions,1,-1 do + if functions[i].Name:lower() == "closestage" then + MissionInit:InsertFunction(i, "SwapInDefaultCar") + break + end + end + if Settings.RemoveOutOfVehicle then local toRemove = {} local toRemoveN = 0