mirror of
https://github.com/DeltaV-Station/Delta-v.git
synced 2026-09-29 23:57:29 +00:00
Remove most usages of obsolete TransformComponent methods (#19571)
This commit is contained in:
@@ -340,7 +340,7 @@ public sealed partial class ExplosionSystem : EntitySystem
|
||||
if (player.AttachedEntity is not EntityUid uid)
|
||||
continue;
|
||||
|
||||
var playerPos = Transform(player.AttachedEntity!.Value).WorldPosition;
|
||||
var playerPos = _transformSystem.GetWorldPosition(player.AttachedEntity.Value);
|
||||
var delta = epicenter.Position - playerPos;
|
||||
|
||||
if (delta.EqualsApprox(Vector2.Zero))
|
||||
|
||||
Reference in New Issue
Block a user