aboutsummaryrefslogtreecommitdiffstats
path: root/js
diff options
context:
space:
mode:
authoralexichi <alexbankai96@gmail.com>2016-05-03 10:33:27 +0200
committeralexichi <alexbankai96@gmail.com>2016-05-03 10:33:27 +0200
commitadd9d3248a5adc02b071a301005c6f11195f7f7b (patch)
treedb841c7347bcda24335718fa4f4d33397e0ade8c /js
parent556adda68fe99e3a88f59803aa9bd8892e4d34cf (diff)
downloadcandybox-add9d3248a5adc02b071a301005c6f11195f7f7b.tar.gz
candybox-add9d3248a5adc02b071a301005c6f11195f7f7b.tar.bz2
candybox-add9d3248a5adc02b071a301005c6f11195f7f7b.tar.xz
candybox-add9d3248a5adc02b071a301005c6f11195f7f7b.zip
add dungeon client side to display it when reload
Diffstat (limited to 'js')
-rw-r--r--js/craftmine.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/js/craftmine.js b/js/craftmine.js
index c40106c..7c37e59 100644
--- a/js/craftmine.js
+++ b/js/craftmine.js
@@ -52,6 +52,7 @@ function initCraftMine() {
data.gold = parseInt(ret.gold); // Server's response is a string
if(ret.shop) displayShop(ret.shop);
displayInventory(ret.inventory);
+ if(ret.dungeon) displayDungeon();
data.miners = parseInt(ret.miners);
updateData("gold","miners");
})