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

beta.r3js.org
-=yb4f310 2018-03-15 11:14:08 +01:00
parent dd88e55b1e
commit 53447469fd
1 changed files with 1 additions and 2 deletions

View File

@ -211,7 +211,6 @@ GameLib.CustomCode.prototype.advanceSnake = function(delta) {
backup.x = body.position.x;
backup.y = body.position.y;
body.advance(
this.state.orientation
@ -228,7 +227,7 @@ GameLib.CustomCode.prototype.advanceSnake = function(delta) {
body.position.x = backup.x;
body.position.y = backup.y;
body.position.orientation = backup.orientation;
body.orientation = backup.orientation;
backup.x = temp.x;
backup.y = temp.y;