From d8d0fcd3ba1ded1fea3ae445b15377b641a9ec6e Mon Sep 17 00:00:00 2001 From: -=yb4f310 Date: Sun, 14 Jan 2018 15:04:37 +0100 Subject: [PATCH] Update: CustomCode - Bacon - Entity Loaded (osynga17uj.js) 12 bytes modified --- osynga17uj.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/osynga17uj.js b/osynga17uj.js index b334404..8ef47c9 100644 --- a/osynga17uj.js +++ b/osynga17uj.js @@ -1107,7 +1107,7 @@ if (GameLib.Utils.UndefinedOrNull(this.subscriptions)) { this.subscriptions = []; GameLib.Event.Subscribe( - GameLib.Event.WINDOW_RESIZE, + GameLib.Event.CUSTOM_CODE_WINDOW_RESIZE, function (data) { var aspect = data.width / data.height; this.camera.offsetX = -((this.camera.maxX - this.camera.minX) / 2) + (GameLib.CustomCode.TETRIS_GRID_WIDTH / 2) - 0.5 - (0.5 * aspect);