Skip to content

Fix TypeError during debug logging in hint placement#2455

Merged
fenhl merged 1 commit into
OoTRandomizer:Devfrom
fenhl:hints-log-type-error
Sep 14, 2025
Merged

Fix TypeError during debug logging in hint placement#2455
fenhl merged 1 commit into
OoTRandomizer:Devfrom
fenhl:hints-log-type-error

Conversation

@fenhl

@fenhl fenhl commented Sep 14, 2025

Copy link
Copy Markdown
Collaborator

This fixes a bug where the log message formatting assumes that the variable locations is an iterable, but it can also be None. This bug causes a 9% failure rate for League S9 settings on the release branch; cherry-picking this commit onto release reduces the failure rate to 0%.

@fenhl fenhl added Type: Bug Something isn't working Status: Needs Review Someone should be looking at it Component: Hints related to how we help the player labels Sep 14, 2025
@fenhl fenhl removed the Status: Needs Review Someone should be looking at it label Sep 14, 2025
@fenhl fenhl added this to the next milestone Sep 14, 2025
@fenhl fenhl merged commit 017cf76 into OoTRandomizer:Dev Sep 14, 2025
3 checks passed
@fenhl fenhl deleted the hints-log-type-error branch September 14, 2025 22:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Component: Hints related to how we help the player Type: Bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants