Fix seeing bramble fog when vessel warping #957

This commit is contained in:
xen-42 2024-10-09 22:14:24 -04:00
parent a7560aa2c5
commit f0213e8579

View File

@ -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;