diff --git a/21g30t1e75.js b/21g30t1e75.js index fe48fa2..7e58332 100644 --- a/21g30t1e75.js +++ b/21g30t1e75.js @@ -1168,6 +1168,8 @@ GameLib.CustomCode.prototype.backup = function() { this.backupOrientation = this.state.orientation; + this.backupPreviousOrientation = this.backupOrientation; + }.bind(this) GameLib.CustomCode.prototype.restore = function() { @@ -1234,7 +1236,7 @@ GameLib.CustomCode.prototype.restore = function() { }.bind(this) ); - this.state.orientation = this.backupOrientation; + this.state.orientation = this.backupPreviousOrientation; this.backupSnake = null;