Fix bug in Upgrades. They didnt give a status on buy.

This commit is contained in:
Kevin Dungs
2014-11-24 14:00:10 +01:00
parent 3c88f5d5fd
commit 33d7a0b745
+2
View File
@@ -225,7 +225,9 @@ var GameObjects = (function() {
}
this.state.used = true; // How about actually REMOVING used upgrades?
this.state.visible = false;
return this.cost;
}
return -1;
};