mirror of
https://github.com/misternebula/quantum-space-buddies.git
synced 2025-03-10 07:14:27 +00:00
send message in alarm totem when you leave the sector or else thats not synced i think
This commit is contained in:
parent
895df1fda1
commit
5878ebe19d
@ -62,6 +62,7 @@ public class AlarmTotemPatches : QSBPatch
|
||||
__instance._isPlayerVisible = false;
|
||||
__instance._secondsConcealed = 0f;
|
||||
Locator.GetAlarmSequenceController().DecreaseAlarmCounter();
|
||||
qsbAlarmTotem.SendMessage(new SetVisibleMessage(false));
|
||||
}
|
||||
}
|
||||
});
|
||||
|
@ -46,6 +46,7 @@ public class QSBLightSensor : OwnedWorldObject<SingleLightSensor>
|
||||
{
|
||||
if (AttachedObject._startIlluminated)
|
||||
{
|
||||
// dont need to do _illuminated cuz _startIlluminated means it already sets the thing and fires the event in Start
|
||||
_locallyIlluminated = true;
|
||||
OnDetectLocalLight?.Invoke();
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user