From b45fe49a7c2a0b7a92f2dd319f3ed2ec25e432e8 Mon Sep 17 00:00:00 2001 From: Nick Date: Wed, 18 Oct 2023 17:26:52 -0400 Subject: [PATCH] Don't split up across two methods bc john asked to --- NewHorizons/Handlers/PlanetDestructionHandler.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/NewHorizons/Handlers/PlanetDestructionHandler.cs b/NewHorizons/Handlers/PlanetDestructionHandler.cs index 7253c828..b9b77493 100644 --- a/NewHorizons/Handlers/PlanetDestructionHandler.cs +++ b/NewHorizons/Handlers/PlanetDestructionHandler.cs @@ -71,6 +71,9 @@ namespace NewHorizons.Handlers { StrangerRemoved(); } + + // Put it back after banishing it else there are weird graphical bugs + SearchUtilities.Find("Sun_Body").gameObject.transform.position = CenterOfTheUniverse.s_instance.transform.position; } }, 2); // Have to wait or shit goes wild @@ -122,9 +125,6 @@ namespace NewHorizons.Handlers // Just to be safe SunLightEffectsController.Instance.Update(); - - // Put it back after banishing it else there are weird graphical bugs - sun.gameObject.transform.position = CenterOfTheUniverse.s_instance.transform.position; } private static void TimberHearthRemoved()