Skip to content

fix(gui): play open_sound when skip_main_gui opens storage directly#277

Merged
ptthanh02 merged 1 commit into
OpenVdra:mainfrom
Alexteens24:fix/skip-main-gui-open-sound
Jun 24, 2026
Merged

fix(gui): play open_sound when skip_main_gui opens storage directly#277
ptthanh02 merged 1 commit into
OpenVdra:mainfrom
Alexteens24:fix/skip-main-gui-open-sound

Conversation

@Alexteens24

@Alexteens24 Alexteens24 commented Jun 24, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Play the configured open_sound from main_gui.yml when skip_main_gui opens the storage GUI directly on spawner click.
  • Centralize open-sound playback in GuiButtonInteractionService.playOpenSound() and reuse it from SpawnerMenuUI, SpawnerClickManager, and SpawnerManagementHandler.
  • Replace the hardcoded chest sound in the admin spawner management path with the configured open sound.

When skip_main_gui is enabled, the configured open_sound from main_gui.yml was never played because storage opened outside SpawnerMenuUI.

Co-authored-by: Cursor <[email protected]>
@ptthanh02 ptthanh02 merged commit f0d62fc into OpenVdra:main Jun 24, 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