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.visible = true;
|
||||||
|
|
||||||
body.mesh.updateInstance('visible');
|
body.mesh.updateInstance('visible');
|
||||||
}
|
|
||||||
|
body.mesh.updateInstance('position');
|
||||||
|
}
|
||||||
|
|
||||||
if (
|
if (
|
||||||
body.orientation !== temp.orientation
|
body.orientation !== temp.orientation
|
||||||
|
@ -297,8 +299,6 @@ GameLib.CustomCode.prototype.advanceSnake = function(delta) {
|
||||||
*/
|
*/
|
||||||
body.backupMesh = body.mesh;
|
body.backupMesh = body.mesh;
|
||||||
|
|
||||||
body.backupMesh.updateInstance('position');
|
|
||||||
|
|
||||||
body.backupMesh.visible = false;
|
body.backupMesh.visible = false;
|
||||||
|
|
||||||
body.backupMesh.updateInstance('visible');
|
body.backupMesh.updateInstance('visible');
|
||||||
|
|
Loading…
Reference in New Issue