Remove obsolete Fixture.Body references (#16259)

This commit is contained in:
Leon Friedrich
2023-05-09 19:21:26 +12:00
committed by GitHub
parent dac7025cc5
commit 2bd5fb3736
32 changed files with 67 additions and 77 deletions

View File

@@ -449,7 +449,7 @@ public sealed class ArtifactAnalyzerSystem : EntitySystem
private void OnCollide(EntityUid uid, ArtifactAnalyzerComponent component, ref StartCollideEvent args)
{
var otherEnt = args.OtherFixture.Body.Owner;
var otherEnt = args.OtherEntity;
if (!HasComp<ArtifactComponent>(otherEnt))
return;
@@ -462,7 +462,7 @@ public sealed class ArtifactAnalyzerSystem : EntitySystem
private void OnEndCollide(EntityUid uid, ArtifactAnalyzerComponent component, ref EndCollideEvent args)
{
var otherEnt = args.OtherFixture.Body.Owner;
var otherEnt = args.OtherEntity;
if (!HasComp<ArtifactComponent>(otherEnt))
return;

View File

@@ -90,7 +90,7 @@ public sealed class TraversalDistorterSystem : EntitySystem
private void OnCollide(EntityUid uid, TraversalDistorterComponent component, ref StartCollideEvent args)
{
var otherEnt = args.OtherFixture.Body.Owner;
var otherEnt = args.OtherEntity;
if (!HasComp<ArtifactComponent>(otherEnt))
return;
@@ -101,7 +101,7 @@ public sealed class TraversalDistorterSystem : EntitySystem
private void OnEndCollide(EntityUid uid, TraversalDistorterComponent component, ref EndCollideEvent args)
{
var otherEnt = args.OtherFixture.Body.Owner;
var otherEnt = args.OtherEntity;
if (!HasComp<ArtifactComponent>(otherEnt))
return;