Remove obsolete Fixture.Body references (#16259)
This commit is contained in:
@@ -74,10 +74,10 @@ namespace Content.Shared.Throwing
|
||||
return;
|
||||
|
||||
var thrower = component.Thrower;
|
||||
var otherBody = args.OtherFixture.Body;
|
||||
if (args.OtherEntity == thrower)
|
||||
return;
|
||||
|
||||
if (otherBody.Owner == thrower) return;
|
||||
ThrowCollideInteraction(thrower, args.OurFixture.Body, otherBody);
|
||||
ThrowCollideInteraction(thrower, args.OurBody, args.OtherBody);
|
||||
}
|
||||
|
||||
private void PreventCollision(EntityUid uid, ThrownItemComponent component, ref PreventCollideEvent args)
|
||||
|
||||
Reference in New Issue
Block a user