From 37b638b0f393d22e50aa6e3d96eac33cdebd9601 Mon Sep 17 00:00:00 2001 From: -=yb4f310 Date: Fri, 23 Mar 2018 17:21:59 +0100 Subject: [PATCH] Update: CC - Snake FS - Entity Loaded (21g30t1e75.js) 101 bytes modified --- 21g30t1e75.js | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) 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();