Update: CC - Snake FS - Entity Loaded (21g30t1e75.js) 76 bytes modified

beta.r3js.org
-=yb4f310 2018-03-22 12:45:06 +01:00
parent b02a42f6e2
commit 18c618ca35
1 changed files with 5 additions and 0 deletions

View File

@ -958,6 +958,10 @@ GameLib.CustomCode.prototype.advanceSnake = function(delta) {
backup.flip = body.flip;
}
if (this.state.eating) {
return
}
if (index > 0) {
temp = {
@ -1068,6 +1072,7 @@ GameLib.CustomCode.prototype.advanceSnake = function(delta) {
)
this.state.turning = false;
this.state.eating = false;
this.visualizeGrid();