Surveillance camera listening/speaking (#11640)

This commit is contained in:
Flipp Syder
2022-10-16 10:44:14 -07:00
committed by GitHub
parent 7003a35cb9
commit 6e108bd400
12 changed files with 219 additions and 5 deletions

View File

@@ -243,7 +243,7 @@ public sealed class AtmosAlarmableSystem : EntitySystem
/// <param name="alarmable"></param>
public void Reset(EntityUid uid, AtmosAlarmableComponent? alarmable = null, TagComponent? tags = null)
{
if (!Resolve(uid, ref alarmable, ref tags) || alarmable.LastAlarmState == AtmosAlarmType.Normal)
if (!Resolve(uid, ref alarmable, ref tags, false) || alarmable.LastAlarmState == AtmosAlarmType.Normal)
{
return;
}
@@ -285,7 +285,7 @@ public sealed class AtmosAlarmableSystem : EntitySystem
{
alarm = null;
if (!Resolve(uid, ref alarmable))
if (!Resolve(uid, ref alarmable, false))
{
return false;
}