aboutsummaryrefslogtreecommitdiffstats
path: root/js/craftmine.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/craftmine.js')
-rw-r--r--js/craftmine.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/js/craftmine.js b/js/craftmine.js
index 000a8f2..92fa45a 100644
--- a/js/craftmine.js
+++ b/js/craftmine.js
@@ -49,7 +49,8 @@ function initCraftMine() {
data.gold = parseInt(ret.gold); // Server's response is a string
if(ret.shop) displayShop(ret.shop);
displayInventory(ret.inventory);
- updateData("gold");
+ data.miners = parseInt(ret.miners);
+ updateData("gold","miners");
})
}