Skip to content

Commit

Permalink
words hard
Browse files Browse the repository at this point in the history
  • Loading branch information
alwaysintreble committed May 24, 2024
1 parent 64c4570 commit 3d0358c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Options.py
Original file line number Diff line number Diff line change
Expand Up @@ -1155,7 +1155,7 @@ def get_option_groups(world: typing.Type[World], visibility_level: Visibility =
grouped_options = set(option for group in ordered_groups.values() for option in group)
ungrouped_options = [option for option in world.options_dataclass.type_hints.values()
if option not in grouped_options]
# if the world doesn't have any ungrouped options, this group will be empty so don't add it
# only add the game options group if we have ungrouped options
if ungrouped_options:
ordered_groups = {**{"Game Options": ungrouped_options}, **ordered_groups}

Expand Down

0 comments on commit 3d0358c

Please sign in to comment.