Browse Source

Update the button when the game is loaded

tags/v0.0.3
Fen Dweller 5 years ago
parent
commit
3775e308cb
1 changed files with 7 additions and 1 deletions
  1. +7
    -1
      gorge.js

+ 7
- 1
gorge.js View File

@@ -91,6 +91,12 @@ function buyBuilding(type) {
updateClickBonus();

}

function updateAll() {
updateProductivity();
updateClickBonus();
updateClickVictim();
}
// update stuff

function updateDisplay() {
@@ -307,7 +313,7 @@ function setup() {
registerListeners();
load();
unlockAtStart();
updateProductivity();
updateAll();

}



Loading…
Cancel
Save