From 8c794995737b17b2ed94f2fc088d4c8c2e36f997 Mon Sep 17 00:00:00 2001 From: black-sliver <59490463+black-sliver@users.noreply.github.com> Date: Sun, 6 Apr 2025 17:00:14 +0200 Subject: [PATCH] SoE: remove use of deprecated Utils.get_options() (#4821) --- worlds/soe/patch.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/worlds/soe/patch.py b/worlds/soe/patch.py index a322de2af6..fba71b7bd3 100644 --- a/worlds/soe/patch.py +++ b/worlds/soe/patch.py @@ -4,7 +4,6 @@ from typing import BinaryIO, Optional import Utils from worlds.Files import APDeltaPatch - USHASH = '6e9c94511d04fac6e0a1e582c170be3a' @@ -20,9 +19,9 @@ class SoEDeltaPatch(APDeltaPatch): def get_base_rom_path(file_name: Optional[str] = None) -> str: - options = Utils.get_options() if not file_name: - file_name = options["soe_options"]["rom_file"] + from . import SoEWorld + file_name = SoEWorld.settings.rom_file if not file_name: raise ValueError("Missing soe_options -> rom_file from host.yaml") if not os.path.exists(file_name):