diff --git a/21g30t1e75.js b/21g30t1e75.js index 43af194..170d9a0 100644 --- a/21g30t1e75.js +++ b/21g30t1e75.js @@ -1247,11 +1247,21 @@ GameLib.CustomCode.prototype.restore = function() { * --- works --- */ clone.mesh = clone.backupMesh; + + var backupOrientation = clone.orientation; + + if (clone.backupMesh.hasOwnProperty('orientation')) { + clone.orientation = clone.backupMesh.orientation; + } + clone.backupMesh = null; clone.mesh.visible = true; clone.mesh.updateInstance('visible'); clone.applyToMesh(); clone.backupMesh = clone.mesh; + + clone.orientation = backupOrientation; + /** * --- end of works --- */