Fixed the dungeon generator.