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() {