diff --git a/dGame/TradingManager.cpp b/dGame/TradingManager.cpp index d103c07c0..364840a7e 100644 --- a/dGame/TradingManager.cpp +++ b/dGame/TradingManager.cpp @@ -150,6 +150,17 @@ void Trade::SetAccepted(LWOOBJID participant, bool value) { } if (m_AcceptedA && m_AcceptedB) { + // Live told the players the trade was about to be performed (an empty ServerTradeUpdate with + // bAboutToPerform); their clients show the trade as complete (LWOTradeComponent::SendMessage, + // "SetTradeComplete") + for (auto* const participant : { GetParticipantAEntity(), GetParticipantBEntity() }) { + if (!participant) continue; + GameMessages::ServerTradeUpdate aboutToPerform; + aboutToPerform.target = participant->GetObjectID(); + aboutToPerform.bAboutToPerform = true; + aboutToPerform.Send(participant->GetSystemAddress()); + } + auto* entityB = GetParticipantBEntity(); if (entityB != nullptr) {