mirror of
https://github.com/wassname/cardsforscience.git
synced 2026-07-07 13:19:47 +08:00
Remove unecessary stuff.
This commit is contained in:
+1
-3
@@ -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;
|
||||
});
|
||||
})();
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user