Update: CC - Snake FS - Entity Loaded (21g30t1e75.js) 41 bytes modified
parent
b7c6ea7fef
commit
26d428266e
|
@ -152,6 +152,8 @@ GameLib.CustomCode.SnakeBody = function(
|
|||
this.mesh.position.z = GameLib.CustomCode.SnakeBody.LastZ;
|
||||
GameLib.CustomCode.SnakeBody.LastZ += 0.1;
|
||||
|
||||
this.mesh.updateInstance('position');
|
||||
|
||||
if (GameLib.Utils.UndefinedOrNull(position)) {
|
||||
position = {
|
||||
x : Math.round(GameLib.CustomCode.GRID_WIDTH / 2),
|
||||
|
|
Loading…
Reference in New Issue