Skip to content

Commit

Permalink
Fix typing issue with RogueLegacyWorld in options.py
Browse files Browse the repository at this point in the history
Typing is more complicated in Python compared to JS, lol
  • Loading branch information
ThePhar committed Oct 15, 2024
1 parent db24c51 commit ad2b716
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions worlds/rogue_legacy/options.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"])
Expand Down Expand Up @@ -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

Expand Down

0 comments on commit ad2b716

Please sign in to comment.