Witness: Fixing a world bleed issue with multiple Witness seeds, preventing generation (#2031)

Co-authored-by: blastron <blastron@mac.com>
This commit is contained in:
NewSoupVi 2023-07-25 05:54:23 +02:00 committed by GitHub
parent 9d1a31004f
commit 0e8ad7b9bc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -99,7 +99,7 @@ class WitnessPlayerItems:
self._locations: WitnessPlayerLocations = locat
# Duplicate the static item data, then make any player-specific adjustments to classification.
self.item_data: Dict[str, ItemData] = copy.copy(StaticWitnessItems.item_data)
self.item_data: Dict[str, ItemData] = copy.deepcopy(StaticWitnessItems.item_data)
# Remove all progression items that aren't actually in the game.
self.item_data = {name: data for (name, data) in self.item_data.items()