diff --git a/squirrelbattle/mapgeneration/broguelike.py b/squirrelbattle/mapgeneration/broguelike.py index ca830b8..38d462f 100644 --- a/squirrelbattle/mapgeneration/broguelike.py +++ b/squirrelbattle/mapgeneration/broguelike.py @@ -184,6 +184,7 @@ class Generator: sy, sx = randint(0, height - 1), randint(0, width - 1) while level[sy][sx] != Tile.FLOOR: sy, sx = randint(0, height - 1), randint(0, width - 1) + level[sy][sx] = Tile.LADDER # now we loop until we've tried enough, or we've added enough rooms tries, rooms_built = 0, 0