Remove naughty IEntity.Dirty calls (#5069)
Really this thing should probably be internal because you should never be calling it.
This commit is contained in:
@@ -55,7 +55,6 @@ namespace Content.Server.Tabletop
|
||||
var transform = EntityManager.GetComponent<ITransformComponent>(movedEntity.Uid);
|
||||
var entityCoordinates = new EntityCoordinates(_mapManager.GetMapEntityId(transform.MapID), msg.Coordinates.Position);
|
||||
transform.Coordinates = entityCoordinates;
|
||||
movedEntity.Dirty();
|
||||
}
|
||||
|
||||
private void OnDraggingPlayerChanged(TabletopDraggingPlayerChangedEvent msg)
|
||||
|
||||
Reference in New Issue
Block a user