diff --git a/21g30t1e75.js b/21g30t1e75.js index 1b206bd..bf5962d 100644 --- a/21g30t1e75.js +++ b/21g30t1e75.js @@ -887,11 +887,13 @@ GameLib.CustomCode.prototype.powerup = function(gameObject) { GameLib.CustomCode.prototype.createCorner = function(body, temp) { + var backupOrientation = body.orientation; + body.orientation = temp.orientation; body.applyToMesh(); - body.orientation = backup.orientation; + body.orientation = backupOrientation; body.backupMesh = body.mesh;