From 3775e308cbdcc2bc0f43d45e9d79ac42c2fc2f53 Mon Sep 17 00:00:00 2001 From: Fen Dweller Date: Sun, 8 Dec 2019 10:32:39 -0500 Subject: [PATCH] Update the button when the game is loaded --- gorge.js | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/gorge.js b/gorge.js index cc28ea1..631687e 100644 --- a/gorge.js +++ b/gorge.js @@ -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(); }