From e358d3e19833a98f1e0f5c75194887776ce663d3 Mon Sep 17 00:00:00 2001 From: Scipio Wright Date: Sat, 22 Jun 2024 14:21:37 -0400 Subject: [PATCH] Make suggested change for loop in randomize entrances --- worlds/ladx/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/worlds/ladx/__init__.py b/worlds/ladx/__init__.py index fcb976cacd4c..6495f575de9c 100644 --- a/worlds/ladx/__init__.py +++ b/worlds/ladx/__init__.py @@ -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