From d410a429fe2f98781686c768e6151691feb19dc2 Mon Sep 17 00:00:00 2001 From: Joshua Thome Date: Sat, 22 Feb 2025 11:04:44 -0600 Subject: [PATCH] Update Eye sector occupancy on load --- NewHorizons/Handlers/EyeSceneHandler.cs | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/NewHorizons/Handlers/EyeSceneHandler.cs b/NewHorizons/Handlers/EyeSceneHandler.cs index 233086e6..ee4f4cdd 100644 --- a/NewHorizons/Handlers/EyeSceneHandler.cs +++ b/NewHorizons/Handlers/EyeSceneHandler.cs @@ -185,6 +185,12 @@ namespace NewHorizons.Handlers starLightController.Awake(); SunLightEffectsController.AddStar(starController); SunLightEffectsController.AddStarLight(sunLight); + + // The player starts out already added to the eye sector, so we need to inform the sectored components that the sector isn't empty + Delay.FireOnNextUpdate(() => + { + eyeSector.OnSectorOccupantsUpdated.Invoke(); + }); } public static void SetUpEyeCampfireSequence()