Update: CC - Snake FS - Entity Loaded (21g30t1e75.js) 1 bytes modified
parent
13dd3121d5
commit
8b0cad6bf0
|
@ -298,15 +298,15 @@ GameLib.CustomCode.prototype.advanceSnake = function(delta) {
|
||||||
/**
|
/**
|
||||||
* Our orientation changed - we should make a corner
|
* Our orientation changed - we should make a corner
|
||||||
*/
|
*/
|
||||||
|
body.applyToMesh();
|
||||||
|
|
||||||
body.backupMesh = body.mesh;
|
body.backupMesh = body.mesh;
|
||||||
|
|
||||||
body.backupMesh.visible = false;
|
body.backupMesh.visible = false;
|
||||||
|
|
||||||
body.backupMesh.updateInstance('visible');
|
body.backupMesh.updateInstance('visible');
|
||||||
|
|
||||||
body.mesh = this.meshBreadCorner.clone();
|
body.mesh = this.meshBreadCorner.clone();
|
||||||
|
|
||||||
body.applyToMesh();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue