aboutsummaryrefslogtreecommitdiffstats
path: root/js/craftmine.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/craftmine.js')
-rw-r--r--js/craftmine.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/js/craftmine.js b/js/craftmine.js
index a8619df..70becec 100644
--- a/js/craftmine.js
+++ b/js/craftmine.js
@@ -63,7 +63,7 @@ function initCraftMine() {
displayPerso(ret.perso.hp,ret.perso.xp,ret.perso.lv);
}
if(ret.shop) displayShop(ret.shop);
- displayInventory(ret.inventory);
+ if(ret.inventory) displayInventory(ret.inventory);
if(ret.dungeon == false){}//if we have left the donjon
else if(typeof ret.dungeon.mob == "undefined") displayDungeon(0,1,true); //if we have reload just after buying the ticket
else displayDungeon(ret.dungeon.mob,ret.dungeon.flat,true);//if we have reload in the middle of the dungeon