Skip to content

Commit

Permalink
Add air alarm hysteresis (space-wizards#29223)
Browse files Browse the repository at this point in the history
Add firelock hysteresis
  • Loading branch information
Partmedia authored and Baa14453 committed Oct 19, 2024
1 parent 8e39a08 commit 5fe85fc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Content.Server/Doors/Systems/FirelockSystem.cs
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ private void OnAtmosAlarm(EntityUid uid, FirelockComponent component, AtmosAlarm
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);
Expand Down

0 comments on commit 5fe85fc

Please sign in to comment.