Skip to content

Commit

Permalink
sort games
Browse files Browse the repository at this point in the history
  • Loading branch information
Silvris committed Aug 28, 2024
1 parent 489b84b commit 8871aa7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion worlds/options_select/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -317,7 +317,7 @@ def build(self):
self.container.add_widget(self.main_layout)
self.scrollbox = ScrollBox(size_hint_x=None, width=dp(150))
self.scrollbox.layout.orientation = "vertical"
for world, cls in AutoWorldRegister.world_types.items():
for world, cls in sorted(AutoWorldRegister.world_types.items(), key=lambda x: x[0]):
if world == "Archipelago":
continue
world_button = Button(text=world, size_hint_y=None)
Expand Down

0 comments on commit 8871aa7

Please sign in to comment.