Fix fixtures (#3677)

This commit is contained in:
TemporalOroboros
2023-01-11 17:50:18 -08:00
committed by GitHub
parent 2e456a6bc0
commit 95ef1853b6

View File

@@ -583,7 +583,7 @@ public abstract partial class SharedPhysicsSystem
if (preventCollideMessage.Cancelled) return false;
preventCollideMessage = new PreventCollideEvent(other, body, fixture, otherFixture);
preventCollideMessage = new PreventCollideEvent(other, body, otherFixture, fixture);
RaiseLocalEvent(other.Owner, ref preventCollideMessage);
if (preventCollideMessage.Cancelled) return false;