Update: CC - Snake FS - Entity Loaded (21g30t1e75.js) 8 bytes modified
parent
2b3ef2ee6d
commit
c24b3953db
|
@ -245,17 +245,17 @@ GameLib.CustomCode.prototype.advanceSnake = function(delta) {
|
|||
|
||||
if (index === 0) {
|
||||
|
||||
backup = {
|
||||
body.advance(
|
||||
this.state.orientation
|
||||
);
|
||||
|
||||
backup = {
|
||||
position : {
|
||||
x : body.position.x,
|
||||
y : body.position.y
|
||||
},
|
||||
orientation : body.orientation
|
||||
}
|
||||
|
||||
body.advance(
|
||||
this.state.orientation
|
||||
);
|
||||
}
|
||||
|
||||
if (index > 0) {
|
||||
|
|
Loading…
Reference in New Issue