summaryrefslogtreecommitdiff
path: root/src/net
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-09-06 19:09:39 +0300
committerAndrei Karas <akaras@inbox.ru>2015-09-06 19:09:39 +0300
commitf96861c0115f6808d8246b3e6defc828ab3a255e (patch)
tree76fa7c407187399e638cc514a59263d0468066e4 /src/net
parent548bcd5e5450afefbbe2625da16aa23333e6b69a (diff)
downloadplus-f96861c0115f6808d8246b3e6defc828ab3a255e.tar.gz
plus-f96861c0115f6808d8246b3e6defc828ab3a255e.tar.bz2
plus-f96861c0115f6808d8246b3e6defc828ab3a255e.tar.xz
plus-f96861c0115f6808d8246b3e6defc828ab3a255e.zip
Add option for creating screenshots on each complete trade.
Diffstat (limited to 'src/net')
-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);
}