From fadf073acd9d1ada309e48d67bf866af765438fe Mon Sep 17 00:00:00 2001 From: Fabian Dill Date: Sun, 30 Aug 2020 03:19:02 +0200 Subject: [PATCH] remove "s" in dungeon_items if "u" is present --- Mystery.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Mystery.py b/Mystery.py index 7c08377e..595ddcc9 100644 --- a/Mystery.py +++ b/Mystery.py @@ -277,6 +277,8 @@ def roll_settings(weights): dungeon_items = "" elif not dungeon_items: dungeon_items = "" + if "u" in dungeon_items: + dungeon_items.replace("s", "") ret.mapshuffle = get_choice('map_shuffle', weights, 'm' in dungeon_items) ret.compassshuffle = get_choice('compass_shuffle', weights, 'c' in dungeon_items)