mirror of
https://github.com/space-wizards/RobustToolbox.git
synced 2026-02-15 03:30:53 +01:00
Run MapInit on pmanager entities (#4196)
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user