From ad2b7165e74500b0c536f2d26720f06055bbae8d Mon Sep 17 00:00:00 2001 From: Zach Parks Date: Tue, 15 Oct 2024 00:51:27 -0500 Subject: [PATCH] Fix typing issue with RogueLegacyWorld in `options.py` Typing is more complicated in Python compared to JS, lol --- worlds/rogue_legacy/options.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/worlds/rogue_legacy/options.py b/worlds/rogue_legacy/options.py index bf3583ab238f..e7f0fba38e67 100644 --- a/worlds/rogue_legacy/options.py +++ b/worlds/rogue_legacy/options.py @@ -80,7 +80,7 @@ class BossChamberShuffle(Toggle): display_name = "Boss Chamber Shuffle" - def generate_boss_order(self, world: RogueLegacyWorld): + def generate_boss_order(self, world: "RogueLegacyWorld"): boss_order = ["khidr", "alex", "leon", "herodotus"] if world.options.neo_bosses: boss_order.extend(["khidr_neo", "alex_neo", "leon_neo", "herodotus_neo", "traitor_neo"]) @@ -347,7 +347,7 @@ class FountainHunt(Toggle): display_name = "Fountain Hunt" - def generate_requirement(self, world: RogueLegacyWorld) -> int: + def generate_requirement(self, world: "RogueLegacyWorld") -> int: if not self: # If disabled return 0