diff --git a/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/actors/mobs/npcs/Blacksmith.java b/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/actors/mobs/npcs/Blacksmith.java index 51911ad31..2ef45ce9f 100644 --- a/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/actors/mobs/npcs/Blacksmith.java +++ b/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/actors/mobs/npcs/Blacksmith.java @@ -207,7 +207,12 @@ public class Blacksmith extends NPC { Game.runOnRenderThread(new Callback() { @Override public void call() { - GameScene.show( new WndBlacksmith( Blacksmith.this, Dungeon.hero ) ); + //in case game was closed during smith reward selection + if (Quest.smithRewards != null && Quest.smiths > 0){ + GameScene.show( new WndBlacksmith.WndSmith( Blacksmith.this, Dungeon.hero ) ); + } else { + GameScene.show(new WndBlacksmith(Blacksmith.this, Dungeon.hero)); + } } });