No good bad fix to vision torches being eaten by the sun

This commit is contained in:
Nick 2023-10-03 20:41:19 -04:00
parent 002ac651fd
commit 467876f327
2 changed files with 9 additions and 1 deletions

View File

@ -16,6 +16,14 @@ namespace NewHorizons.Handlers
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>();

View File

@ -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" ],