fix end game error
Merge branch 'master' of https://github.com/RostovTeam/snake-client