Landstalker: Fixed rare generation issues (#3353)

Co-authored-by: Fabian Dill <Berserker66@users.noreply.github.com>
This commit is contained in:
Dinopony
2024-06-01 13:39:57 +02:00
committed by GitHub
parent 97c9c5310b
commit 1e205f9d73
5 changed files with 23 additions and 4 deletions

View File

@@ -37,7 +37,7 @@ def create_regions(world: "LandstalkerWorld"):
for code, region_data in WORLD_NODES_JSON.items():
random_hint_name = None
if "hints" in region_data:
random_hint_name = multiworld.random.choice(region_data["hints"])
random_hint_name = world.random.choice(region_data["hints"])
region = LandstalkerRegion(code, region_data["name"], player, multiworld, random_hint_name)
regions_table[code] = region
multiworld.regions.append(region)