Add EntityUid fields to some physics events (#17055)
This commit is contained in:
@@ -464,7 +464,7 @@ public abstract class SharedDoorSystem : EntitySystem
|
||||
|
||||
private void PreventCollision(EntityUid uid, DoorComponent component, ref PreventCollideEvent args)
|
||||
{
|
||||
if (component.CurrentlyCrushing.Contains(args.BodyB.Owner))
|
||||
if (component.CurrentlyCrushing.Contains(args.OtherEntity))
|
||||
{
|
||||
args.Cancelled = true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user