diff --git a/21g30t1e75.js b/21g30t1e75.js index fc68757..a502c36 100644 --- a/21g30t1e75.js +++ b/21g30t1e75.js @@ -1236,6 +1236,12 @@ GameLib.CustomCode.prototype.restore = function() { clone.backupMesh.updateInstance('visible'); + if (clone.mesh) { + clone.mesh.geometry = null; + clone.mesh.materials = null; + clone.mesh.remove(); + } + clone.mesh = this.createGameMesh(this.materialBreadCorner); clone.mesh.position.z = 5;