Add air alarm hysteresis (#29223)

Add firelock hysteresis
This commit is contained in:
Partmedia
2024-06-22 07:22:17 -08:00
committed by GitHub
parent 02fb432b05
commit 8112063a8b

View File

@@ -93,7 +93,7 @@ namespace Content.Server.Doors.Systems
if (!TryComp<DoorComponent>(uid, out var doorComponent))
return;
if (args.AlarmType == AtmosAlarmType.Normal || args.AlarmType == AtmosAlarmType.Warning)
if (args.AlarmType == AtmosAlarmType.Normal)
{
if (doorComponent.State == DoorState.Closed)
_doorSystem.TryOpen(uid);