OptionsCreator: Respect World.hidden flag (#5754)

This commit is contained in:
Katelyn Gigante
2025-12-18 06:09:35 +11:00
committed by GitHub
parent 01e1e1fe11
commit 56363ea7e7

View File

@@ -632,7 +632,7 @@ class OptionsCreator(ThemedApp):
self.create_options_panel(world_btn)
for world, cls in sorted(AutoWorldRegister.world_types.items(), key=lambda x: x[0]):
if world == "Archipelago":
if cls.hidden:
continue
world_text = MDButtonText(text=world, size_hint_y=None, width=dp(150),
pos_hint={"x": 0.03, "center_y": 0.5})