Update: CC - Snake FS - Entity Loaded (21g30t1e75.js) 154 bytes modified
parent
74b55961a7
commit
9bf6897b29
|
@ -1234,8 +1234,19 @@ GameLib.CustomCode.prototype.restore = function() {
|
|||
if (clone.backupMesh) {
|
||||
clone.backupMesh.visible = false;
|
||||
clone.backupMesh.updateInstance('visible');
|
||||
|
||||
|
||||
clone.mesh = this.createGameMesh(this.materialBreadCorner);
|
||||
|
||||
clone.mesh.position.z = 5;
|
||||
|
||||
clone.mesh.updateInstance('position');
|
||||
|
||||
clone.mesh.visible = true;
|
||||
|
||||
clone.mesh.updateInstance('visible');
|
||||
|
||||
|
||||
} else {
|
||||
clone.mesh.visible = true;
|
||||
clone.mesh.updateInstance('visible');
|
||||
|
|
Loading…
Reference in New Issue