From 8ad9adff0710f130b998f67d3fd83932a4946e90 Mon Sep 17 00:00:00 2001 From: -=yb4f310 Date: Sat, 24 Mar 2018 19:49:48 +0100 Subject: [PATCH] Update: CC - Snake FS - Entity Loaded (21g30t1e75.js) 507 bytes modified --- 21g30t1e75.js | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/21g30t1e75.js b/21g30t1e75.js index c421463..21178c6 100644 --- a/21g30t1e75.js +++ b/21g30t1e75.js @@ -1891,6 +1891,26 @@ GameLib.Event.Subscribe( this.displayHUD(); + 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); //@ sourceURL=entityLoaded.js \ No newline at end of file