/// <inheritdoc /> public override bool HijackDeletion(EntityUid entity) { if (IoCManager.Resolve <IEntityManager>().TryGetComponent(entity, out ConstructionGhostComponent? ghost)) { _constructionSystem.ClearGhost(ghost.GhostId); } return(true); }
public override bool HijackDeletion(IEntity entity) { if (entity.TryGetComponent(out ConstructionGhostComponent? ghost)) { _constructionSystem.ClearGhost(ghost.GhostID); } return(true); }