Skip to content

Commit

Permalink
Core: Make csv options output ignore hidden options (#4539)
Browse files Browse the repository at this point in the history
* Core: Make csv options output ignore hidden options

* Update Options.py

Co-authored-by: Aaron Wagener <mmmcheese158@gmail.com>

---------

Co-authored-by: Aaron Wagener <mmmcheese158@gmail.com>
  • Loading branch information
Jarno458 and alwaysintreble authored Feb 1, 2025
1 parent 445c9b2 commit d116702
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 @@ -1582,7 +1582,7 @@ def dump_player_options(multiworld: MultiWorld) -> None:
}
output.append(player_output)
for option_key, option in world.options_dataclass.type_hints.items():
if issubclass(Removed, option):
if option.visibility == Visibility.none:
continue
display_name = getattr(option, "display_name", option_key)
player_output[display_name] = getattr(world.options, option_key).current_option_name
Expand Down

0 comments on commit d116702

Please sign in to comment.