From 6028cb6a5c346617620742e5454166ec6e34a392 Mon Sep 17 00:00:00 2001 From: -=yb4f310 Date: Sun, 14 Jan 2018 14:06:55 +0100 Subject: [PATCH] Update: CC - Entity Loaded - Moorcow (hv7vehw7se.js) 273 bytes modified --- hv7vehw7se.js | 17 ++--------------- 1 file changed, 2 insertions(+), 15 deletions(-) diff --git a/hv7vehw7se.js b/hv7vehw7se.js index 42cbbd5..9efcac7 100644 --- a/hv7vehw7se.js +++ b/hv7vehw7se.js @@ -70,22 +70,9 @@ this.mouseDown = GameLib.EntityManager.Instance.findComponentById('jtmr6gmp5p') this.mouseMove = GameLib.EntityManager.Instance.findComponentById('lxigrx11oc'); this.touchMove = GameLib.EntityManager.Instance.findComponentById('evwkow5289'); -GameLib.Event.Subscribe( - GameLib.Event.WINDOW_RESIZE, - function(data) { - var aspect = (data.width / data.height); - this.camera.aspect = aspect; - this.camera.updateInstance('aspect'); - this.renderer.setSize( - data.width, - data.height - ); - }.bind(this) -); - /** - * Tell all our custom code components that we loaded - */ + * Tell all our custom code components that we loaded + */ GameLib.Event.Subscribe( GameLib.Event.CUSTOM_GAME_START, function() {