Update: CC - Snake FS - Entity Loaded (21g30t1e75.js) 4 bytes modified
parent
e5c48422c7
commit
dd88e55b1e
|
@ -211,12 +211,13 @@ GameLib.CustomCode.prototype.advanceSnake = function(delta) {
|
||||||
|
|
||||||
backup.x = body.position.x;
|
backup.x = body.position.x;
|
||||||
backup.y = body.position.y;
|
backup.y = body.position.y;
|
||||||
backup.orientation = body.orientation;
|
|
||||||
|
|
||||||
body.advance(
|
body.advance(
|
||||||
this.state.orientation
|
this.state.orientation
|
||||||
);
|
);
|
||||||
|
|
||||||
|
backup.orientation = body.orientation;
|
||||||
} else {
|
} else {
|
||||||
|
|
||||||
var temp = {
|
var temp = {
|
||||||
|
|
Loading…
Reference in New Issue