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