From 7e2f911811018191e23b0f1b016abb7bb6ab7e35 Mon Sep 17 00:00:00 2001 From: Nick Date: Wed, 18 Oct 2023 17:18:56 -0400 Subject: [PATCH] Put the sun back after --- NewHorizons/Handlers/PlanetDestructionHandler.cs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/NewHorizons/Handlers/PlanetDestructionHandler.cs b/NewHorizons/Handlers/PlanetDestructionHandler.cs index a2b9310b..572aa834 100644 --- a/NewHorizons/Handlers/PlanetDestructionHandler.cs +++ b/NewHorizons/Handlers/PlanetDestructionHandler.cs @@ -119,6 +119,9 @@ 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()