[PR #4125] [MERGED] Play the merchant's yes sound on a shift-clicked trade #5433

Closed
opened 2026-11-03 05:12:34 +07:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/horizon-rust/horizon/pull/4125
Author: @Benflex1
Created: 10/30/2026
Status: ✅ Merged
Merged: 10/30/2026
Merged by: @rdbtCVS

Base: main ← Head: fix/3515-trade-sound


📝 Commits (1)

  • 7cb03be Play the merchant's yes sound on a shift-clicked trade

📊 Changes

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

View changed files

📝 crates/horizon-client/src/game/trading.rs (+8 -1)

📄 Description

Part of #3515.

MerchantMenu.playTradeSound plays the trader's notify-trade sound, but merchant_apply dropped the queued TradeSound event. Play the villager's or wandering trader's yes sound at the trade's origin, volume 1, pitch 1.

lan_e2e --check hero-trading passes on host and guest (both shift-click trades); the full lib suite and pr_ready --quick pass.


🔄 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/4125 **Author:** [@Benflex1](https://github.com/Benflex1) **Created:** 10/30/2026 **Status:** ✅ Merged **Merged:** 10/30/2026 **Merged by:** [@rdbtCVS](https://github.com/rdbtCVS) **Base:** `main` ← **Head:** `fix/3515-trade-sound` --- ### 📝 Commits (1) - [`7cb03be`](https://github.com/horizon-rust/horizon/commit/7cb03beeede53d610f0b95cbf7baee75ef81ff58) Play the merchant's yes sound on a shift-clicked trade ### 📊 Changes **1 file changed** (+8 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `crates/horizon-client/src/game/trading.rs` (+8 -1) </details> ### 📄 Description Part of #3515. `MerchantMenu.playTradeSound` plays the trader's notify-trade sound, but `merchant_apply` dropped the queued `TradeSound` event. Play the villager's or wandering trader's yes sound at the trade's origin, volume 1, pitch 1. `lan_e2e --check hero-trading` passes on host and guest (both shift-click trades); the full lib suite and `pr_ready --quick` pass. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-11-03 05:12:34 +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#5433
No description provided.