From b357dafa8f7c8a1da19eafba509a8b440d7651d7 Mon Sep 17 00:00:00 2001 From: Noah Pilarski Date: Tue, 4 Jun 2024 18:38:03 -0400 Subject: [PATCH] Load dark bramble earlier --- NewHorizons/Handlers/VesselWarpHandler.cs | 5 +++++ NewHorizons/Main.cs | 2 ++ 2 files changed, 7 insertions(+) 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) {