Update: CC - Snake FS - Entity Loaded (21g30t1e75.js) 33 bytes modified
parent
4fa99419f7
commit
179bfc969e
|
@ -178,11 +178,11 @@ GameLib.CustomCode.prototype.cloneBody = function(bodyType) {
|
||||||
position.y = this.snake[0].position.y;
|
position.y = this.snake[0].position.y;
|
||||||
}
|
}
|
||||||
|
|
||||||
return {
|
return new GameLib.CustomCode.SnakeBody(
|
||||||
mesh : mesh,
|
mesh : mesh,
|
||||||
direction : direction,
|
direction : direction,
|
||||||
position : position
|
position : position
|
||||||
}
|
);
|
||||||
|
|
||||||
}.bind(this);
|
}.bind(this);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue