diff options
Diffstat (limited to 'src/net/buysellhandler.cpp')
-rw-r--r-- | src/net/buysellhandler.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/net/buysellhandler.cpp b/src/net/buysellhandler.cpp index ad613889..b2fe99b9 100644 --- a/src/net/buysellhandler.cpp +++ b/src/net/buysellhandler.cpp @@ -113,6 +113,8 @@ void BuySellHandler::handleMessage(MessageIn *msg) if (msg->readInt8() == 0) { chatWindow->chatLog("Thanks for buying", BY_SERVER); } else { + // Reset player money since buy dialog already assumed purchase + // would go fine buyDialog->setMoney(player_node->mGp); chatWindow->chatLog("Unable to buy", BY_SERVER); } |