Fixes disposals not flushing down stuff.

Fixes #2933
This commit is contained in:
Vera Aguilera Puerto
2021-01-10 16:01:16 +01:00
parent c557923cce
commit 654cca13bf
2 changed files with 1 additions and 5 deletions

View File

@@ -287,10 +287,6 @@ namespace Content.Server.GameObjects.Components.Disposal
}
var entryComponent = entry.GetComponent<DisposalEntryComponent>();
foreach (var entity in _container.ContainedEntities.ToList())
{
_container.Remove(entity);
}
if (Owner.Transform.Coordinates.TryGetTileAtmosphere(out var tileAtmos) &&
tileAtmos.Air != null &&