Update: CC - Snake FS - Entity Loaded (21g30t1e75.js) 76 bytes modified
parent
b02a42f6e2
commit
18c618ca35
|
@ -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();
|
||||
|
||||
|
|
Loading…
Reference in New Issue