Bugfix on snakeg game