diff --git a/21g30t1e75.js b/21g30t1e75.js index a65b8cf..1653302 100644 --- a/21g30t1e75.js +++ b/21g30t1e75.js @@ -157,7 +157,8 @@ this.state = { exploding : false, lives : 3, getReady : false, - message : null + message : null, + overrideOrientation : false }; GameLib.CustomCode.prototype.displayHUD = function() { @@ -1173,6 +1174,8 @@ GameLib.CustomCode.prototype.backup = function() { this.backupOrientation = this.state.orientation; + this.state.overrideOrientation = true; + }.bind(this) GameLib.CustomCode.prototype.restore = function() { @@ -1525,7 +1528,8 @@ GameLib.Event.Subscribe( exploding : false, lives : 3, getReady : false, - message : 'READY' + message : null, + overrideOrientation : false }; this.initializeGrid();