im not fucking writing descriptive commit messages

This commit is contained in:
JohnCorby 2022-08-15 23:45:45 -07:00
parent c9018766f5
commit bd496c1c56

View File

@ -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, () =>