Fix prying shut unpowered doors (#35380)
This commit is contained in:
committed by
GitHub
parent
7f8f1bfb94
commit
732d9dc2b7
@@ -42,7 +42,7 @@ public abstract class SharedAirlockSystem : EntitySystem
|
||||
// the initial power-check.
|
||||
|
||||
if (TryComp(uid, out DoorComponent? door)
|
||||
&& !door.Partial
|
||||
&& !args.Partial
|
||||
&& !CanChangeState(uid, airlock))
|
||||
{
|
||||
args.Cancel();
|
||||
|
||||
Reference in New Issue
Block a user