summaryrefslogtreecommitdiff
path: root/src/net/tmwa/playerhandler.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/net/tmwa/playerhandler.cpp')
-rw-r--r--src/net/tmwa/playerhandler.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/net/tmwa/playerhandler.cpp b/src/net/tmwa/playerhandler.cpp
index 0079aedc..6a1e8918 100644
--- a/src/net/tmwa/playerhandler.cpp
+++ b/src/net/tmwa/playerhandler.cpp
@@ -301,6 +301,7 @@ void PlayerHandler::handleMessage(Net::MessageIn &msg)
case 0x0014: {
int oldMoney = PlayerInfo::getAttribute(MONEY);
int newMoney = msg.readInt32();
+ PlayerInfo::setAttribute(MONEY, newMoney);
if (newMoney > oldMoney)
SERVER_NOTICE(strprintf(_("You picked up %s."),
Units::formatCurrency(newMoney -