Run MapInit on pmanager entities (#4196)

This commit is contained in:
metalgearsloth
2023-07-27 04:49:09 +10:00
committed by GitHub
parent afdfbba312
commit 76bb9b4b19

View File

@@ -694,6 +694,9 @@ namespace Robust.Client.Placement
IsActive = true;
CurrentPlacementOverlayEntity = EntityManager.SpawnEntity(templateName, MapCoordinates.Nullspace);
EntityManager.RunMapInit(
CurrentPlacementOverlayEntity.Value,
EntityManager.GetComponent<MetaDataComponent>(CurrentPlacementOverlayEntity.Value));
}
public void PreparePlacementSprite(SpriteComponent sprite)