Skip to content

Commit

Permalink
Make suggested change for loop in randomize entrances
Browse files Browse the repository at this point in the history
  • Loading branch information
ScipioWright committed Jun 22, 2024
1 parent 49a9301 commit e358d3e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion worlds/ladx/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@ def randomize_entrances(self):

start_type_mappings = {}

for option_name, option in self.options.as_dict():
for option_name, option in dataclasses.asdict(self.options).items():
if isinstance(option, EntranceShuffle):
for cat in option.entrance_type:
start_type_mappings[option_name] = cat
Expand Down

0 comments on commit e358d3e

Please sign in to comment.