From d25c29d9f486a228fb945c573fc1482202dc89a9 Mon Sep 17 00:00:00 2001 From: -=yb4f310 Date: Sun, 14 Jan 2018 14:54:17 +0100 Subject: [PATCH] Update: CustomCode - Bacon - Entity Loaded (osynga17uj.js) 151 bytes modified --- osynga17uj.js | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/osynga17uj.js b/osynga17uj.js index d0b2240..b334404 100644 --- a/osynga17uj.js +++ b/osynga17uj.js @@ -1121,6 +1121,14 @@ if (GameLib.Utils.UndefinedOrNull(this.subscriptions)) { function () { + GameLib.Event.Emit( + GameLib.Event.WINDOW_RESIZE, + { + width : window.innerWidth, + height : window.innerHeight + } + ); + this.animationObjects = []; this.score = 0;