Merge remote-tracking branch 'origin/main'
commit
f8a46052e7
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue