From 467876f3279bdba0c477c420f75cc5106e8d4c81 Mon Sep 17 00:00:00 2001 From: Nick Date: Tue, 3 Oct 2023 20:41:19 -0400 Subject: [PATCH] No good bad fix to vision torches being eaten by the sun --- NewHorizons/Handlers/PlanetDestructionHandler.cs | 8 ++++++++ NewHorizons/manifest.json | 2 +- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/NewHorizons/Handlers/PlanetDestructionHandler.cs b/NewHorizons/Handlers/PlanetDestructionHandler.cs index cc36636c7..ca8618276 100644 --- a/NewHorizons/Handlers/PlanetDestructionHandler.cs +++ b/NewHorizons/Handlers/PlanetDestructionHandler.cs @@ -16,6 +16,14 @@ public static class PlanetDestructionHandler public static void RemoveStockPlanets() { + // For some reason disabling planets immediately ruins the creation of everything else + // However, the sun breaks a lot of stuff sometimes (literally destroys it in its volumes I imagine) + // Eg, vision torch in Mindscapes + // TODO: Fix it better by disabling destruction volumes the first few frames maybe + // Until then + // I am become death, the destroyer of worlds + SearchUtilities.Find("Sun_Body").transform.position = Vector3.left * 1000000000f; + // Adapted from EOTS thanks corby var toDisable = new List(); diff --git a/NewHorizons/manifest.json b/NewHorizons/manifest.json index e493bc9c5..cfc9f760d 100644 --- a/NewHorizons/manifest.json +++ b/NewHorizons/manifest.json @@ -4,7 +4,7 @@ "author": "xen, Bwc9876, clay, MegaPiggy, John, Trifid, Hawkbar, Book", "name": "New Horizons", "uniqueName": "xen.NewHorizons", - "version": "1.17.0", + "version": "1.17.1", "owmlVersion": "2.9.8", "dependencies": [ "JohnCorby.VanillaFix", "_nebula.MenuFramework", "xen.CommonCameraUtility", "dgarro.CustomShipLogModes" ], "conflicts": [ "Raicuparta.QuantumSpaceBuddies", "PacificEngine.OW_CommonResources" ],