Skip to content

Commit

Permalink
Fix crowbars not being able to close unpowered doors (#544)
Browse files Browse the repository at this point in the history
  • Loading branch information
DrSmugleaf authored Feb 5, 2025
1 parent 4396065 commit 8c9819d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Content.Shared/Doors/Systems/SharedAirlockSystem.cs
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ private void OnBeforeDoorClosed(EntityUid uid, AirlockComponent airlock, BeforeD

if (TryComp(uid, out DoorComponent? door)
&& !door.Partial
&& door.State != DoorState.Closing
&& !CanChangeState(uid, airlock))
{
args.Cancel();
Expand Down

0 comments on commit 8c9819d

Please sign in to comment.