From 33324b6802e6a6ab74c79f1257010f1353fa1275 Mon Sep 17 00:00:00 2001 From: Linus Probert Date: Tue, 15 May 2018 14:15:51 +0200 Subject: [PATCH] Less chance for pits --- data/maproombuilder.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/data/maproombuilder.lua b/data/maproombuilder.lua index 4949933..a6d9685 100644 --- a/data/maproombuilder.lua +++ b/data/maproombuilder.lua @@ -157,7 +157,7 @@ local function add_pits_to_room(map) if CURRENT_LEVEL < 2 then return - elseif random(4) == 1 then + elseif random(5) ~= 1 then return end