Update: CC - Snake FS - Entity Loaded (21g30t1e75.js) 15 bytes modified
parent
13cb4b74b4
commit
db5c5f9e78
|
@ -130,9 +130,9 @@ GameLib.CustomCode.SnakeBody = function(
|
|||
case GameLib.CustomCode.BODY_TYPE_HEAD :
|
||||
break;
|
||||
case GameLib.CustomCode.BODY_TYPE_TAIL :
|
||||
mesh.rotation.z = Math.PI;
|
||||
mesh.updateInstance('rotation');
|
||||
position.x += 1;
|
||||
this.mesh.rotation.z = Math.PI;
|
||||
this.mesh.updateInstance('rotation');
|
||||
this.position.x += 1;
|
||||
break;
|
||||
default :
|
||||
throw new Error('unreachable statement');
|
||||
|
|
Loading…
Reference in New Issue