Clean up all missing EntitySystem proxy method uses (#38353)
This commit is contained in:
@@ -325,7 +325,7 @@ namespace Content.Server.Construction
|
||||
var newUid = EntityManager.CreateEntityUninitialized(newEntity, transform.Coordinates);
|
||||
|
||||
// Construction transferring.
|
||||
var newConstruction = EntityManager.EnsureComponent<ConstructionComponent>(newUid);
|
||||
var newConstruction = EnsureComp<ConstructionComponent>(newUid);
|
||||
|
||||
// Transfer all construction-owned containers.
|
||||
newConstruction.Containers.UnionWith(construction.Containers);
|
||||
@@ -372,7 +372,7 @@ namespace Content.Server.Construction
|
||||
if (containerManager != null)
|
||||
{
|
||||
// Ensure the new entity has a container manager. Also for resolve goodness.
|
||||
var newContainerManager = EntityManager.EnsureComponent<ContainerManagerComponent>(newUid);
|
||||
var newContainerManager = EnsureComp<ContainerManagerComponent>(newUid);
|
||||
|
||||
// Transfer all construction-owned containers from the old entity to the new one.
|
||||
foreach (var container in construction.Containers)
|
||||
|
||||
Reference in New Issue
Block a user