Fix drain return (#20276)

This commit is contained in:
metalgearsloth
2023-09-17 15:08:05 +10:00
committed by GitHub
parent 2718546629
commit 93ccd1b77d

View 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))