owenashurst / agar.io-clone

Agar.io clone written with Socket.IO and HTML5 canvas
MIT License
2.89k stars 1.13k forks source link

Fixed collisions #411

Closed ghost closed 8 years ago

ghost commented 8 years ago

I forgot to add return true to the check() function in PR #409:

Iterating over objects continues as long as there are remaining objects and the callback function returns true. If the callback does not return true, the iteration is interrupted.