Purges uses of TransformComponent.WorldRotation (#34946)

This commit is contained in:
TemporalOroboros
2025-02-10 19:16:20 -08:00
committed by GitHub
parent 976172b85e
commit 08e5362f43
9 changed files with 15 additions and 10 deletions

View File

@@ -71,7 +71,7 @@ public sealed partial class ExplosionSystem
{
var targetGrid = Comp<MapGridComponent>(referenceGrid.Value);
var xform = Transform(referenceGrid.Value);
targetAngle = xform.WorldRotation;
targetAngle = _transformSystem.GetWorldRotation(xform);
targetMatrix = xform.InvWorldMatrix;
tileSize = targetGrid.TileSize;
}