From 74aadca97d0d627186a356289da9fe0a2fcac69e Mon Sep 17 00:00:00 2001 From: Kevin Dungs Date: Sun, 3 Aug 2014 02:03:03 +0200 Subject: [PATCH] Remove unecessary stuff. --- js/game.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/js/game.js b/js/game.js index 9bf404e..0e532d8 100644 --- a/js/game.js +++ b/js/game.js @@ -49,7 +49,7 @@ }; var research = loadJsonFile('json/research.json'); - research.map(function(item) { // define additional stuff on the objects + research.map(function(item) { item.level = 0; item.is_visible = function() { return this.level > 0 || lab.data >= this.cost * .7; @@ -188,5 +188,3 @@ this.upgrades = upgrades; }); })(); - -