Purge uses of TransformComponent.AttachToGridOrMap (#34940)

Switches over all extant uses of TransformComponent.AttachToGridOrMap to use SharedTransformSystem.AttachToGridOrMap
This commit is contained in:
TemporalOroboros
2025-02-07 03:49:22 -08:00
committed by GitHub
parent 14d96e0716
commit f37d5c9f0f
4 changed files with 7 additions and 5 deletions

View File

@@ -40,7 +40,7 @@ public sealed class ContainerFillSystem : EntitySystem
if (!_containerSystem.Insert(ent, container, containerXform: xform))
{
Log.Error($"Entity {ToPrettyString(uid)} with a {nameof(ContainerFillComponent)} failed to insert an entity: {ToPrettyString(ent)}.");
Transform(ent).AttachToGridOrMap();
_transform.AttachToGridOrMap(ent);
break;
}
}