Content ecs containers (#22484)
This commit is contained in:
@@ -26,8 +26,8 @@ namespace Content.Server.Construction.Completions
|
||||
|
||||
foreach (var contained in from.ContainedEntities.ToArray())
|
||||
{
|
||||
if (from.Remove(contained))
|
||||
to.Insert(contained);
|
||||
if (containerSystem.Remove(contained, from))
|
||||
containerSystem.Insert(contained, to);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user