Cleanup: Remove `TryInsert method from the DisposableSystem` and use event subscriptions instead (#38819)

Cleanup
This commit is contained in:
Winkarst-cpu
2025-07-07 22:13:35 +03:00
committed by GitHub
parent 1c59e087d5
commit bb02be1dc7
2 changed files with 9 additions and 25 deletions

View File

@@ -428,7 +428,7 @@ namespace Content.Server.Disposal.Tube
foreach (var entity in from.Container.ContainedEntities.ToArray())
{
_disposableSystem.TryInsert(holder, entity, holderComponent);
_containerSystem.Insert(entity, holderComponent.Container);
}
_atmosSystem.Merge(holderComponent.Air, from.Air);