replit / kaboom

💥 JavaScript game library
https://kaboomjs.com
MIT License
2.66k stars 226 forks source link

fix unresolveable collisions in beforePhysicsResolve #827

Closed neverUsedGithub closed 6 months ago

neverUsedGithub commented 7 months ago

This PR fixes an issue where inside "beforePhysicsResolve" collisions could only be cancelled in the "source" GameObject's listener not inside the "target" GameObject's listener, because the reversed collision's resolved property wasn't checked.

slmjkdbtl commented 6 months ago

Thank you!