From bd496c1c5653af3ff41780c693f0782533b11cb9 Mon Sep 17 00:00:00 2001 From: JohnCorby Date: Mon, 15 Aug 2022 23:45:45 -0700 Subject: [PATCH] im not fucking writing descriptive commit messages --- .../LightSensorSync/Patches/LightSensorPatches.cs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/QSB/EchoesOfTheEye/LightSensorSync/Patches/LightSensorPatches.cs b/QSB/EchoesOfTheEye/LightSensorSync/Patches/LightSensorPatches.cs index b4e4e18d..b588f8e4 100644 --- a/QSB/EchoesOfTheEye/LightSensorSync/Patches/LightSensorPatches.cs +++ b/QSB/EchoesOfTheEye/LightSensorSync/Patches/LightSensorPatches.cs @@ -14,6 +14,8 @@ using UnityEngine; * leave while you still can. */ +// TODO PLEASE TEST THIS AND DEBUG YOU HAVE TO + namespace QSB.EchoesOfTheEye.LightSensorSync.Patches; [HarmonyPatch(typeof(SingleLightSensor))] @@ -56,7 +58,8 @@ internal class LightSensorPatches : QSBPatch if (__instance._illuminated) { qsbLightSensor._locallyIlluminated = false; - qsbLightSensor.OnDetectLocalDarkness?.Invoke();; + qsbLightSensor.OnDetectLocalDarkness?.Invoke(); + ; // wait because someone could send a message getting ownership again // i hate this so fucking much Delay.RunFramesLater(10, () =>