From dbb69359aa64b44e62f589998a0ba6adb348c9a2 Mon Sep 17 00:00:00 2001 From: aerinon Date: Thu, 12 May 2022 14:38:53 -0600 Subject: [PATCH] Fix customizer GUI yaml selection --- RELEASENOTES.md | 1 + source/gui/bottom.py | 5 +++++ 2 files changed, 6 insertions(+) diff --git a/RELEASENOTES.md b/RELEASENOTES.md index 424e4c45..d91029d8 100644 --- a/RELEASENOTES.md +++ b/RELEASENOTES.md @@ -166,6 +166,7 @@ Same as above but both small keys and bigs keys of the dungeon are not allowed o #### Customizer +* Fixed up the GUI selection of the customizer file. * Fixed up the item_pool section to skip a lot of pool manipulations. Key items will be added (like the bow) if not detected. Extra dungeon items can be added to the pool and will be confined to the dungeon if possible (and not shuffled). If the pool isn't full, junk items are added to the pool to fill it out. #### Volatile diff --git a/source/gui/bottom.py b/source/gui/bottom.py index 5efeeac3..b887e1ac 100644 --- a/source/gui/bottom.py +++ b/source/gui/bottom.py @@ -220,6 +220,11 @@ def create_guiargs(parent): # Get baserom path guiargs.rom = parent.pages["randomizer"].pages["generation"].widgets["rom"].storageVar.get() + # Get customizer path + customizer_value = parent.pages["randomizer"].pages["generation"].widgets["customizer"].storageVar.get() + if customizer_value and customizer_value != 'None': + guiargs.customizer = customizer_value + # Get if we're using the Custom Item Pool guiargs.custom = bool(parent.pages["randomizer"].pages["generation"].widgets["usecustompool"].storageVar.get())