Merge remote-tracking branch 'origin/main'

main
Eren Saglam 2023-03-27 14:57:32 +02:00
commit f8a46052e7
1 changed files with 2 additions and 0 deletions

View File

@ -163,5 +163,7 @@ class PhysicsElementsHandler:
if sprite is not collider:
if sprite.collides_with(collider, TOLERANCE):
collides_with.append(collider)
if len(collides_with) >= 2:
break
return collides_with