Update: CC - Snake FS - Entity Loaded (21g30t1e75.js) 4 bytes modified
parent
0aeeb834b7
commit
624468f6cf
|
@ -132,7 +132,7 @@ GameLib.CustomCode.SnakeBody = function(
|
||||||
case GameLib.CustomCode.BODY_TYPE_HEAD :
|
case GameLib.CustomCode.BODY_TYPE_HEAD :
|
||||||
break;
|
break;
|
||||||
case GameLib.CustomCode.BODY_TYPE_TAIL :
|
case GameLib.CustomCode.BODY_TYPE_TAIL :
|
||||||
this.mesh.rotation.z = Math.PI;
|
this.mesh.rotation.z = Math.PI / 2;
|
||||||
this.mesh.updateInstance('rotation');
|
this.mesh.updateInstance('rotation');
|
||||||
this.position.x += 1;
|
this.position.x += 1;
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Reference in New Issue