Skip to content

Fix patching error when randomized starting items include songs - #2445

Merged
fenhl merged 2 commits into
OoTRandomizer:Devfrom
fenhl:random-starting-songs-as-items
Aug 16, 2025
Merged

Fix patching error when randomized starting items include songs#2445
fenhl merged 2 commits into
OoTRandomizer:Devfrom
fenhl:random-starting-songs-as-items

Conversation

@fenhl

@fenhl fenhl commented Aug 16, 2025

Copy link
Copy Markdown
Collaborator

Fixes a bug introduced in #2444 where if the new setting rolls any songs as starting items, and songs as items wasn't already enabled for another reason, patching the rom would fail with an error “KeyError: item_id”.

@fenhl fenhl added Type: Bug Something isn't working Status: Needs Review Someone should be looking at it Component: Patching Affects the patching of the ROM labels Aug 16, 2025
@jdunn596

Copy link
Copy Markdown

Looks good. Forgot we touched that in my previous PR to your fork

@fenhl fenhl removed the Status: Needs Review Someone should be looking at it label Aug 16, 2025
@fenhl fenhl added this to the next milestone Aug 16, 2025
@fenhl
fenhl merged commit 3ffb65c into OoTRandomizer:Dev Aug 16, 2025
3 checks passed
@fenhl
fenhl deleted the random-starting-songs-as-items branch August 16, 2025 19:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Component: Patching Affects the patching of the ROM Type: Bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants