summaryrefslogtreecommitdiff
path: root/src/net/ea/traderecv.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/net/ea/traderecv.cpp')
-rw-r--r--src/net/ea/traderecv.cpp5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/net/ea/traderecv.cpp b/src/net/ea/traderecv.cpp
index 006c3a41f..df9ed0531 100644
--- a/src/net/ea/traderecv.cpp
+++ b/src/net/ea/traderecv.cpp
@@ -135,10 +135,7 @@ void TradeRecv::processTradeComplete(Net::MessageIn &msg A_UNUSED)
{
NotifyManager::notify(NotifyTypes::TRADE_COMPLETE);
if (tradeWindow)
- {
- tradeWindow->setVisible(Visible_false);
- tradeWindow->reset();
- }
+ tradeWindow->completeTrade();
PlayerInfo::setTrading(Trading_false);
}