mirror of
https://github.com/MarioSpore/Grinch-AP.git
synced 2025-10-21 20:21:32 -06:00
Make triforce hunt item pool fully dynamic
This commit is contained in:
@@ -385,7 +385,7 @@ class World(object):
|
||||
|
||||
return False
|
||||
|
||||
def has_beaten_game(self, state, player: Union[None, int] = None):
|
||||
def has_beaten_game(self, state, player: Optional[int] = None):
|
||||
if player:
|
||||
return state.has('Triforce', player) or state.world.logic[player] == 'nologic'
|
||||
else:
|
||||
|
Reference in New Issue
Block a user