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:
metalgearsloth
2021-10-29 16:40:05 +11:00
committed by GitHub
parent c1f9b34cd4
commit 87701b50c6
2 changed files with 0 additions and 2 deletions

View File

@@ -55,7 +55,6 @@ namespace Content.Server.Tabletop
var transform = EntityManager.GetComponent<ITransformComponent>(movedEntity.Uid); var transform = EntityManager.GetComponent<ITransformComponent>(movedEntity.Uid);
var entityCoordinates = new EntityCoordinates(_mapManager.GetMapEntityId(transform.MapID), msg.Coordinates.Position); var entityCoordinates = new EntityCoordinates(_mapManager.GetMapEntityId(transform.MapID), msg.Coordinates.Position);
transform.Coordinates = entityCoordinates; transform.Coordinates = entityCoordinates;
movedEntity.Dirty();
} }
private void OnDraggingPlayerChanged(TabletopDraggingPlayerChangedEvent msg) private void OnDraggingPlayerChanged(TabletopDraggingPlayerChangedEvent msg)

View File

@@ -104,7 +104,6 @@ namespace Content.Shared.Chemistry.EntitySystems
var filledVolumeFraction = solution.CurrentVolume.Float() / solution.MaxVolume.Float(); var filledVolumeFraction = solution.CurrentVolume.Float() / solution.MaxVolume.Float();
appearance.SetData(SolutionContainerVisuals.VisualState, new SolutionContainerVisualState(solution.Color, filledVolumeFraction)); appearance.SetData(SolutionContainerVisuals.VisualState, new SolutionContainerVisualState(solution.Color, filledVolumeFraction));
solutionEntity.Dirty();
} }
/// <summary> /// <summary>