]> git.smokeofanarchy.ru Git - space-station-14.git/commitdiff
Fix drain return (#20276)
authormetalgearsloth <31366439+metalgearsloth@users.noreply.github.com>
Sun, 17 Sep 2023 05:08:05 +0000 (15:08 +1000)
committerGitHub <noreply@github.com>
Sun, 17 Sep 2023 05:08:05 +0000 (21:08 -0800)
Content.Server/Fluids/EntitySystems/DrainSystem.cs

index d067a64e13eb47ffa1c4388d3b42b08270595add..6ed72f4a3c9c83402f299d14c312de1380255ce7 100644 (file)
@@ -123,7 +123,7 @@ public sealed class DrainSystem : SharedDrainSystem
             if (!drain.AutoDrain)
             {
                 _ambientSoundSystem.SetAmbience(drain.Owner, false);
-                return;
+                continue;
             }
 
             if (!managerQuery.TryGetComponent(drain.Owner, out var manager))