Purges uses of TransformComponent.WorldRotation (#34946)

This commit is contained in:
TemporalOroboros
2025-03-01 12:38:15 +00:00
committed by deltanedas
parent 445cba7836
commit 242865a73d
9 changed files with 15 additions and 10 deletions
@@ -71,7 +71,7 @@ public sealed partial class ExplosionSystem : SharedExplosionSystem
{
var targetGrid = Comp<MapGridComponent>(referenceGrid.Value);
var xform = Transform(referenceGrid.Value);
targetAngle = xform.WorldRotation;
targetAngle = _transformSystem.GetWorldRotation(xform);
targetMatrix = xform.InvWorldMatrix;
tileSize = targetGrid.TileSize;
}