Skip to content

Fix table redefinition not properly updating after first overwrite#33

Merged
Pollux12 merged 5 commits into
mainfrom
hotfix/table-redefinition
Jun 3, 2026
Merged

Fix table redefinition not properly updating after first overwrite#33
Pollux12 merged 5 commits into
mainfrom
hotfix/table-redefinition

Conversation

@Pollux12
Copy link
Copy Markdown
Owner

@Pollux12 Pollux12 commented Jun 3, 2026

This mostly impacted panel definitions, where multiple panels were defined in the same file.

With the constant re-use of the same variable (e.g. PANEL = {}) with just one local definition at the top, it would only bind the first overwrite and ignore the rest, leading to the wrong class being seen in all subsequent usages beyond the first overwrite.

Closes #32

@mintlify
Copy link
Copy Markdown

mintlify Bot commented Jun 3, 2026

Preview deployment for your docs. Learn more about Mintlify Previews.

Project Status Preview Updated (UTC)
GLuaLS 🟢 Ready View Preview Jun 3, 2026, 10:09 AM

💡 Tip: Enable Workflows to automatically generate PRs for you.

@Pollux12 Pollux12 merged commit afec5b7 into main Jun 3, 2026
17 checks passed
@Pollux12 Pollux12 deleted the hotfix/table-redefinition branch June 3, 2026 10:52
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.

[Bug]: VGUI Panels in multi-definition files bind to wrong class

1 participant