From a1deec170c1eec44f54bcc9597bf65ed503e06c0 Mon Sep 17 00:00:00 2001 From: Star Rauchenberger Date: Sat, 15 Jun 2024 13:05:30 -0400 Subject: [PATCH] Fixed LADXRSettings initialization --- worlds/ladx/__init__.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/worlds/ladx/__init__.py b/worlds/ladx/__init__.py index ff0489f0c893..201310eeaf4b 100644 --- a/worlds/ladx/__init__.py +++ b/worlds/ladx/__init__.py @@ -1,4 +1,5 @@ import binascii +import dataclasses import os import pkgutil import tempfile @@ -118,7 +119,7 @@ class LinksAwakeningWorld(World): } def convert_ap_options_to_ladxr_logic(self): - self.ladxr_options = LADXRSettings(self.options.as_dict()) + self.ladxr_options = LADXRSettings(dataclasses.asdict(self.options)) self.ladxr_options.validate() world_setup = LADXRWorldSetup()