From f0213e857977d4c8a53b9c63995dba3fe349aa03 Mon Sep 17 00:00:00 2001 From: xen-42 Date: Wed, 9 Oct 2024 22:14:24 -0400 Subject: [PATCH] Fix seeing bramble fog when vessel warping #957 --- NewHorizons/Patches/WarpPatches/VesselWarpControllerPatches.cs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/NewHorizons/Patches/WarpPatches/VesselWarpControllerPatches.cs b/NewHorizons/Patches/WarpPatches/VesselWarpControllerPatches.cs index e4f993a3..e62d1d75 100644 --- a/NewHorizons/Patches/WarpPatches/VesselWarpControllerPatches.cs +++ b/NewHorizons/Patches/WarpPatches/VesselWarpControllerPatches.cs @@ -23,7 +23,10 @@ namespace NewHorizons.Patches.WarpPatches if (!Main.Instance.IsWarpingFromVessel) PlayerData.SaveWarpedToTheEye(TimeLoopUtilities.GetVanillaSecondsRemaining()); + // This is totally letting us see the interior of bramble when warping Locator.GetPlayerSectorDetector().RemoveFromAllSectors(); + // This is a very jank workaround to stop us seeing all that #957 + Locator.GetPlayerCamera().farClipPlane = 0; LoadManager.EnableAsyncLoadTransition(); return false;