diff --git a/NewHorizons/Handlers/VesselWarpHandler.cs b/NewHorizons/Handlers/VesselWarpHandler.cs index e19e26c8..50fe277b 100644 --- a/NewHorizons/Handlers/VesselWarpHandler.cs +++ b/NewHorizons/Handlers/VesselWarpHandler.cs @@ -66,6 +66,11 @@ namespace NewHorizons.Handlers playerSpawner.DebugWarp(_vesselSpawnPoint); Builder.General.SpawnPointBuilder.SuitUp(); + LoadDB(); + } + + public static void LoadDB() + { if (Instance.CurrentStarSystem == "SolarSystem") { // Deactivate village music because for some reason it still plays. diff --git a/NewHorizons/Main.cs b/NewHorizons/Main.cs index fab88744..73045bab 100644 --- a/NewHorizons/Main.cs +++ b/NewHorizons/Main.cs @@ -526,6 +526,8 @@ namespace NewHorizons PlayerData.SaveLoopCount(2); PlayerData.SetPersistentCondition("LAUNCH_CODES_GIVEN", true); } + + if (shouldWarpInFromVessel) VesselWarpHandler.LoadDB(); } else if (isEyeOfTheUniverse) {