Core: Rename the missed slot_seeds. (#1432)

* Rename the missed slot_seeds.

* Fixed a threaded context random error.
This commit is contained in:
CaitSith2
2023-02-03 10:39:18 -08:00
committed by GitHub
parent 0817305d5b
commit 555a0da46d
4 changed files with 12 additions and 12 deletions

View File

@@ -56,7 +56,7 @@ class WitnessWorld(World):
def _get_slot_data(self):
return {
'seed': self.multiworld.random.randint(0, 1000000),
'seed': self.multiworld.per_slot_randoms[self.player].randint(0, 1000000),
'victory_location': int(self.player_logic.VICTORY_LOCATION, 16),
'panelhex_to_id': self.locat.CHECK_PANELHEX_TO_ID,
'item_id_to_door_hexes': self.static_items.ITEM_ID_TO_DOOR_HEX_ALL,
@@ -189,7 +189,7 @@ class WitnessWorld(World):
if hint_amount != 0:
generated_hints = make_hints(self.multiworld, self.player, hint_amount)
self.multiworld.slot_seeds[self.player].shuffle(audio_logs)
self.multiworld.per_slot_randoms[self.player].shuffle(audio_logs)
duplicates = len(audio_logs) // hint_amount