Skip to content

Guard missing shop menu button#21

Open
Hippoom wants to merge 1 commit into
Stormhand-dev:mainfrom
Hippoom:pr/guard-missing-shop-button
Open

Guard missing shop menu button#21
Hippoom wants to merge 1 commit into
Stormhand-dev:mainfrom
Hippoom:pr/guard-missing-shop-button

Conversation

@Hippoom

@Hippoom Hippoom commented May 13, 2026

Copy link
Copy Markdown

Summary

  • Guards GameMenuButtonShop before repositioning it in the custom game menu.
  • Prevents menu setup errors on clients where the shop button frame does not exist.

Test plan

  • Loaded the addon on a client without GameMenuButtonShop.
  • Opened the Reforged game menu and verified no Lua error occurs.
  • Verified behavior remains unchanged when GameMenuButtonShop exists.

Fixes #20

Avoid indexing GameMenuButtonShop when the client does not provide shop UI, preventing a nil global error during GUI setup.
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.

Guard GameMenuButtonShop access for clients where the shop button does not exist

1 participant