Skip to content

Commit

Permalink
1.17.1 (#739)
Browse files Browse the repository at this point in the history
## Bug fixes
- In new systems, banish the sun to the shadow zone to prevent it eating
vision torches. Yummy. Fixes #736
  • Loading branch information
xen-42 committed Oct 4, 2023
2 parents 63b7cd8 + 467876f commit 69c050e
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
8 changes: 8 additions & 0 deletions NewHorizons/Handlers/PlanetDestructionHandler.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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<GameObject>();

Expand Down
2 changes: 1 addition & 1 deletion NewHorizons/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -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" ],
Expand Down

0 comments on commit 69c050e

Please sign in to comment.