owenashurst / agar.io-clone

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

Add null check to eat check #548

Closed samuelkyl closed 8 months ago

samuelkyl commented 8 months ago

Whenever things got exciting, the server would crash on this line. I believe it is a cell merge concurrency issue where the player cell to be checked is no longer there. A simple null check has allowed us to play long games without crashing.

WrathofGod commented 8 months ago

您好,已经收到您的简历,简历部门需要初筛,如果通过了两个工作日内会有通知。

owenashurst commented 8 months ago

您好,已经收到您的简历,简历部门需要初筛,如果通过了两个工作日内会有通知。

@WrathofGod Please could you comment in English. Thank you.