From 925d1e3ac81c0914b41868b9367f718428312810 Mon Sep 17 00:00:00 2001 From: IProduceWidgets <107586145+IProduceWidgets@users.noreply.github.com> Date: Sat, 27 Jul 2024 23:20:29 -0400 Subject: [PATCH] Prevent gridfill from leaking (#30395) dont forget to set the airtights when the tights are aired --- Content.Server/Shuttles/Systems/DockingSystem.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Content.Server/Shuttles/Systems/DockingSystem.cs b/Content.Server/Shuttles/Systems/DockingSystem.cs index 59a030e83c..f46c3980e5 100644 --- a/Content.Server/Shuttles/Systems/DockingSystem.cs +++ b/Content.Server/Shuttles/Systems/DockingSystem.cs @@ -281,24 +281,24 @@ namespace Content.Server.Shuttles.Systems { if (_doorSystem.TryOpen(dockAUid, doorA)) { - doorA.ChangeAirtight = false; if (TryComp(dockAUid, out var airlockA)) { _doorSystem.SetBoltsDown((dockAUid, airlockA), true); } } + doorA.ChangeAirtight = false; } if (TryComp(dockBUid, out DoorComponent? doorB)) { if (_doorSystem.TryOpen(dockBUid, doorB)) { - doorB.ChangeAirtight = false; if (TryComp(dockBUid, out var airlockB)) { _doorSystem.SetBoltsDown((dockBUid, airlockB), true); } } + doorB.ChangeAirtight = false; } if (_pathfinding.TryCreatePortal(dockAXform.Coordinates, dockBXform.Coordinates, out var handle)) -- 2.52.0