diff --git a/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/levels/RegularLevel.java b/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/levels/RegularLevel.java index dfd7bd6bb..05b7d09f2 100644 --- a/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/levels/RegularLevel.java +++ b/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/levels/RegularLevel.java @@ -423,8 +423,8 @@ public abstract class RegularLevel extends Level { int tries = 100; do { cell = randomDropCell(SpecialRoom.class); - } while (tries-- > 0 && room(cell) instanceof SecretRoom); - if (!(room(cell) instanceof SecretRoom) && cell != -1) { + } while (tries-- > 0 && (room(cell) instanceof SecretRoom || room(cell) instanceof ShopRoom)); + if (!(room(cell) instanceof SecretRoom || room(cell) instanceof ShopRoom) && cell != -1) { if (map[cell] == Terrain.HIGH_GRASS || map[cell] == Terrain.FURROWED_GRASS) { map[cell] = Terrain.GRASS; losBlocking[cell] = false;