Skip to content

Fix detail action button lookup in the mod info panel - #2

Merged
Hellfrosted merged 1 commit into
Hellfrosted:mainfrom
jciurc:pr/info-panel-button-lookup
Oct 25, 2026
Merged

Hellfrosted merged 1 commit into
Hellfrosted:mainfrom
jciurc:pr/info-panel-button-lookup

Conversation

@jciurc

@jciurc jciurc commented Oct 5, 2026

Copy link
Copy Markdown
Contributor

This fixes an exception during the Modding screen's initialization. Notably, the Config button never showed its disabled state, and OK in the Alias/Notes popup didn't close the popup.

The Config and Alias/Notes buttons were being searched one level too high during Refresh and returning null. The fix looks them up through ActionRowName.

[panel with fix]
image

Version
Tested on Slay the Spire 2 v0.111.0 (public-beta), Windows

🤖 Code generated with Claude Code

The Config and Alias/Notes buttons are created under
BetterModMenuDetailActionRow, but Refresh looked them up directly under
the action root. GetNode returned null, and the NullReferenceException
aborted the NModdingScreen._Ready postfix before UpdateChromeLayout, the
deferred backup check and the first-run tutorial.

Generated with Claude Code (Claude Opus 5.5)
@Hellfrosted
Hellfrosted merged commit d22ac7d into Hellfrosted:main Oct 25, 2026
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.

2 participants