Add EntityUid fields to some physics events (#17055)
This commit is contained in:
@@ -82,7 +82,7 @@ namespace Content.Shared.Throwing
|
||||
|
||||
private void PreventCollision(EntityUid uid, ThrownItemComponent component, ref PreventCollideEvent args)
|
||||
{
|
||||
if (args.BodyB.Owner == component.Thrower)
|
||||
if (args.OtherEntity == component.Thrower)
|
||||
{
|
||||
args.Cancelled = true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user