diff --git a/js/gameobjects.js b/js/gameobjects.js index 97a6c98..8df5af2 100644 --- a/js/gameobjects.js +++ b/js/gameobjects.js @@ -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; };