Hollow Knight: remove unused option check (#2595)

This commit is contained in:
Aaron Wagener 2023-12-12 20:11:10 -06:00 committed by GitHub
parent 45fa9a8f9e
commit db1d195cb0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 10 additions and 11 deletions

View File

@ -419,7 +419,6 @@ class HKWorld(World):
def set_rules(self):
world = self.multiworld
player = self.player
if world.logic[player] != 'nologic':
goal = world.Goal[player]
if goal == Goal.option_hollowknight:
world.completion_condition[player] = lambda state: state._hk_can_beat_thk(player)