[PR #575] [MERGED] Preserve quit button sounds when leaving a world #2650

Closed
opened 2026-11-02 15:57:55 +07:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/horizon-rust/horizon/pull/575
Author: @Online5277
Created: 10/16/2026
Status: ✅ Merged
Merged: 10/16/2026
Merged by: @ludovic111

Base: main ← Head: fix/quit-button-sound


📝 Commits (1)

  • 43d5ed8 Play menu button clicks after world teardown

📊 Changes

1 file changed (+6 additions, -6 deletions)

View changed files

📝 crates/horizon-client/src/game/screens.rs (+6 -6)

📄 Description

The pause and death screens played their button click before closing the world. World cleanup immediately stopped that sound. Play the existing click after the selected action completes, so returning to the title screen preserves it.

Fixes #565.

Validation: client binary Clippy and formatting checked. Listening in game is pending, so this PR is a draft.

Manual check: in Classic menus, click Save and Quit to Title from a paused world; listen for one click. Repeat using the death screen's Title Screen button and multiplayer Disconnect. Check Return to Game and Options still click, and clicking outside buttons stays silent.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/horizon-rust/horizon/pull/575 **Author:** [@Online5277](https://github.com/Online5277) **Created:** 10/16/2026 **Status:** ✅ Merged **Merged:** 10/16/2026 **Merged by:** [@ludovic111](https://github.com/ludovic111) **Base:** `main` ← **Head:** `fix/quit-button-sound` --- ### 📝 Commits (1) - [`43d5ed8`](https://github.com/horizon-rust/horizon/commit/43d5ed8246043994a51b6cfbb3fc12775486ea3e) Play menu button clicks after world teardown ### 📊 Changes **1 file changed** (+6 additions, -6 deletions) <details> <summary>View changed files</summary> 📝 `crates/horizon-client/src/game/screens.rs` (+6 -6) </details> ### 📄 Description The pause and death screens played their button click before closing the world. World cleanup immediately stopped that sound. Play the existing click after the selected action completes, so returning to the title screen preserves it. Fixes #565. Validation: client binary Clippy and formatting checked. Listening in game is pending, so this PR is a draft. Manual check: in Classic menus, click Save and Quit to Title from a paused world; listen for one click. Repeat using the death screen's Title Screen button and multiplayer Disconnect. Check Return to Game and Options still click, and clicking outside buttons stays silent. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-11-02 15:57:55 +07:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
horizon-rust/horizon#2650
No description provided.