Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adventure: Fix iterable copy error when freeincarnate_max is tuned low #2774

Merged
merged 1 commit into from
Jan 29, 2024

Conversation

JusticePS
Copy link
Collaborator

What is this fixing or adding?

Fixing errors in Adventure pre_fill due to calling .copy on what is now an iterable and not a list. Would hit this code if there were not enough items to fill all locations, mainly when max_freeincarnate is set to a low value.

How was this tested?

Generated full-random 1050 Adventure multiworld, 100 full-random individual single-adventure multiworlds, and generated and played some of a 4 Adventure world with low random max_freeincarnate settings

If this makes graphical changes, please attach screenshots.

N/A

@Jarno458 Jarno458 added the is: bug/fix Issues that are reporting bugs or pull requests that are fixing bugs. label Jan 29, 2024
@Berserker66 Berserker66 merged commit 0bc9966 into ArchipelagoMW:main Jan 29, 2024
12 checks passed
Jouramie pushed a commit to Jouramie/Archipelago that referenced this pull request Feb 28, 2024
TheLX5 pushed a commit to TheLX5/Archipelago that referenced this pull request Mar 2, 2024
TheLX5 pushed a commit to TheLX5/Archipelago that referenced this pull request Mar 2, 2024
@JusticePS JusticePS deleted the locations_copy_error branch March 4, 2024 23:52
EmilyV99 pushed a commit to EmilyV99/Archipelago that referenced this pull request Apr 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
is: bug/fix Issues that are reporting bugs or pull requests that are fixing bugs.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants