Add EntityUid fields to some physics events (#17055)
This commit is contained in:
@@ -114,7 +114,7 @@ public abstract partial class SharedBuckleSystem
|
||||
|
||||
private void OnBucklePreventCollide(EntityUid uid, BuckleComponent component, ref PreventCollideEvent args)
|
||||
{
|
||||
if (args.BodyB.Owner != component.BuckledTo)
|
||||
if (args.OtherEntity != component.BuckledTo)
|
||||
return;
|
||||
|
||||
if (component.Buckled || component.DontCollide)
|
||||
|
||||
Reference in New Issue
Block a user