From 1f6e2014ebc5a68574f1f3d851cc8be77ab88588 Mon Sep 17 00:00:00 2001
From: Monty Marz <m.marzouq@gmx.de>
Date: Fri, 20 Nov 2020 18:33:59 +0100
Subject: [PATCH] remove level 6 dungeons

---
 world/src/site/dungeon/mod.rs | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/world/src/site/dungeon/mod.rs b/world/src/site/dungeon/mod.rs
index 981de8da21..5d916e6831 100644
--- a/world/src/site/dungeon/mod.rs
+++ b/world/src/site/dungeon/mod.rs
@@ -54,7 +54,7 @@ impl Dungeon {
     #[allow(clippy::let_and_return)] // TODO: Pending review in #587
     pub fn generate(wpos: Vec2<i32>, sim: Option<&WorldSim>, rng: &mut impl Rng) -> Self {
         let mut ctx = GenCtx { sim, rng };
-        let difficulty = ctx.rng.gen_range(0, 7);
+        let difficulty = ctx.rng.gen_range(0, 6);
         let this = Self {
             name: {
                 let name = NameGen::location(ctx.rng).generate();