fix: send pre-SE bulk order cooldown message to the player (#2620)

When a player selects Bulk Order Info while a cooldown is active on a pre-SE server, the vendor sends localized message 1049039 to itself instead of the requesting player. The player therefore receives no cooldown response.

Change the recipient from `vendor` to `from`, matching the SE branch. Cooldown durations and bulk-order eligibility remain unchanged.

Validation: This one-line fix compiled successfully in our customized 0.15.6.145 server build with zero warnings or errors. The current upstream main branch was not built locally.
This commit is contained in:
Robert Dickey 2026-09-09 00:24:42 -05:00 committed by GitHub
parent 4bad0cc9e6
commit 2d38ed7c6a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1409,7 +1409,7 @@ namespace Server.Mobiles
else
{
// An offer may be available in about ~1_hours~ hours.
vendor.SayTo(vendor, 1049039, $"{Math.Ceiling(totalSeconds / 3600):F0}");
vendor.SayTo(from, 1049039, $"{Math.Ceiling(totalSeconds / 3600):F0}");
}
vendor.SpeechHue = oldSpeechHue;