Update: CC - Snake FS - Entity Loaded (21g30t1e75.js) 10 bytes modified
parent
c985b928a0
commit
6373fcfcd4
|
@ -285,7 +285,9 @@ GameLib.CustomCode.prototype.advanceSnake = function(delta) {
|
|||
body.mesh.visible = true;
|
||||
|
||||
body.mesh.updateInstance('visible');
|
||||
}
|
||||
|
||||
body.mesh.updateInstance('position');
|
||||
}
|
||||
|
||||
if (
|
||||
body.orientation !== temp.orientation
|
||||
|
@ -296,8 +298,6 @@ GameLib.CustomCode.prototype.advanceSnake = function(delta) {
|
|||
* Our orientation changed - we should make a corner
|
||||
*/
|
||||
body.backupMesh = body.mesh;
|
||||
|
||||
body.backupMesh.updateInstance('position');
|
||||
|
||||
body.backupMesh.visible = false;
|
||||
|
||||
|
|
Loading…
Reference in New Issue