* Revert "Fix chat bubbles (#25643)" This reverts commit23d2c4d924. * Revert "Fixes obsolete Transform warnings in Content. (#25256)" This reverts commitf284b43ff6.
This commit is contained in:
@@ -14,12 +14,13 @@ namespace Content.Server.Construction.Completions
|
||||
{
|
||||
var transform = entityManager.GetComponent<TransformComponent>(uid);
|
||||
|
||||
var xformSystem = entityManager.System<SharedTransformSystem>();
|
||||
if (!transform.Anchored)
|
||||
xformSystem.SetCoordinates((uid, transform, entityManager.GetComponent<MetaDataComponent>(uid)), transform.Coordinates.SnapToGrid(entityManager));
|
||||
transform.Coordinates = transform.Coordinates.SnapToGrid(entityManager);
|
||||
|
||||
if (SouthRotation)
|
||||
xformSystem.SetLocalRotation(uid, Angle.Zero, transform);
|
||||
{
|
||||
transform.LocalRotation = Angle.Zero;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user