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)
|
||||
|
||||
@@ -104,7 +104,6 @@ namespace Content.Shared.Chemistry.EntitySystems
|
||||
|
||||
var filledVolumeFraction = solution.CurrentVolume.Float() / solution.MaxVolume.Float();
|
||||
appearance.SetData(SolutionContainerVisuals.VisualState, new SolutionContainerVisualState(solution.Color, filledVolumeFraction));
|
||||
solutionEntity.Dirty();
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
||||
Reference in New Issue
Block a user