Update: CC - Snake FS - Entity Loaded (21g30t1e75.js) 507 bytes modified
parent
8463433ccc
commit
8ad9adff07
|
@ -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
|
Loading…
Reference in New Issue