TS: Fixed unit test

This commit is contained in:
Jarno Westhof 2021-12-12 23:53:49 +01:00 committed by Fabian Dill
parent 3f36c436ad
commit c4981e4b91
1 changed files with 3 additions and 0 deletions

View File

@ -27,4 +27,7 @@ def get_pyramid_keys_unlock(world: MultiWorld, player: int) -> str:
else:
gates = (*past_teleportation_gates, *present_teleportation_gates)
if not world:
return gates[0]
return world.random.choice(gates)