mirror of
https://github.com/misternebula/quantum-space-buddies.git
synced 2025-01-04 02:47:22 +00:00
im not fucking writing descriptive commit messages
This commit is contained in:
parent
c9018766f5
commit
bd496c1c56
@ -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, () =>
|
||||
|
Loading…
Reference in New Issue
Block a user