From 4e2680bd1855b2c55d41d131ee85c449b8c512d9 Mon Sep 17 00:00:00 2001 From: -=yb4f310 Date: Sat, 24 Mar 2018 22:43:29 +0100 Subject: [PATCH] Update: CC - Snake FS - Entity Loaded (21g30t1e75.js) 514 bytes modified --- 21g30t1e75.js | 27 ++------------------------- 1 file changed, 2 insertions(+), 25 deletions(-) diff --git a/21g30t1e75.js b/21g30t1e75.js index b20a94e..659f65d 100644 --- a/21g30t1e75.js +++ b/21g30t1e75.js @@ -1829,7 +1829,8 @@ GameLib.Event.Subscribe( gameOver : false, muted : this.state.muted, paused : false, - score : 0 + score : 0, + highscore : this.state.highscore }; GameLib.Event.Emit( @@ -1965,30 +1966,6 @@ GameLib.Event.Subscribe( ) this.displayHUD(); - window.moveTo(0, 0); - -window.scroll(0,0); - function maxWindow() { - window.moveTo(0, 0); - - - if (document.all) { - top.window.resizeTo(screen.availWidth, screen.availHeight); - } - - else if (document.layers || document.getElementById) { - if (top.window.outerHeight < screen.availHeight || top.window.outerWidth < screen.availWidth) { - top.window.outerHeight = screen.availHeight; - top.window.outerWidth = screen.availWidth; - } - } - } - - -maxWindow(); - - - GameLib.Event.Emit(GameLib.Event.GAME_LOADED);