Skip to content

Fix a seed gen bug surrounding new area enum#3497

Merged
leggettc18 merged 2 commits intoHarbourMasters:develop-randofrom
leggettc18:set-area-fix
Dec 8, 2023
Merged

Fix a seed gen bug surrounding new area enum#3497
leggettc18 merged 2 commits intoHarbourMasters:develop-randofrom
leggettc18:set-area-fix

Conversation

@leggettc18
Copy link
Contributor

@leggettc18 leggettc18 commented Dec 8, 2023

new RandomizerArea enum is used to filter dungeonLocations out of allLocations during item placement, but the itemLocations weren't getting a RandomizerArea set until after the playthrough was already confirmed to be beatable, thus we would get a placement error because we wouldn't be able to pull any dungeon locations and never actually set the RandomizerArea. This calls SetArea earlier.

Build Artifacts

@leggettc18
Copy link
Contributor Author

I also included a fix for the settings string that gets set as part of the final seed normally, it was always being set to nothing. This didn't cause any problems because we weren't actually using it anywhere but it's now at least "correct".

@leggettc18 leggettc18 merged commit 65d893b into HarbourMasters:develop-rando Dec 8, 2023
@leggettc18 leggettc18 deleted the set-area-fix branch December 8, 2023 18:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants