Skip to content

Guard the status text repaint against secret values - #142

Merged
Stanzilla merged 1 commit into
Stanzilla:masterfrom
AndyMM22:fix/statustext-secret-guard
Aug 7, 2026
Merged

Guard the status text repaint against secret values#142
Stanzilla merged 1 commit into
Stanzilla:masterfrom
AndyMM22:fix/statustext-secret-guard

Conversation

@AndyMM22

@AndyMM22 AndyMM22 commented Aug 7, 2026

Copy link
Copy Markdown
Contributor

Toggling a Status Text option calls UpdateTextString, so on 12.0 the values it reads are secret and TextStatusBar.lua:110 throws "attempt to compare a secret number value".

The bar's cvar field is set before that call, so pcall keeps the setting and drops the error.

@AndyMM22
AndyMM22 force-pushed the fix/statustext-secret-guard branch from 914e6b6 to 0006700 Compare August 7, 2026 15:55
Repository owner deleted a comment from chatgpt-codex-connector Bot Aug 7, 2026
@Stanzilla
Stanzilla merged commit 2b1e7f4 into Stanzilla:master Aug 7, 2026
1 check passed
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