diff --git a/78gnds8jrj.js b/78gnds8jrj.js index 1375d43..fdac58e 100644 --- a/78gnds8jrj.js +++ b/78gnds8jrj.js @@ -68,11 +68,10 @@ this.camera = GameLib.EntityManager.Instance.findComponentById('hd8dsn7o4c'); this.raycaster = GameLib.EntityManager.Instance.findComponentById('h3yxd73sz7'); this.mouse = GameLib.EntityManager.Instance.findComponentById('eriv6mcw8k'); -GameLib.CustomCode.prototype.loadLevel(index) { +GameLib.CustomCode.prototype.loadLevel = function(index) { var image = this['level' + index]; - var heightData = image.getHeightData(); -} +}.bind(this); GameLib.CustomCode.prototype.spawnRoadSections = function() {