diff options
Diffstat (limited to 'src/game-server/commandhandler.cpp')
-rw-r--r-- | src/game-server/commandhandler.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game-server/commandhandler.cpp b/src/game-server/commandhandler.cpp index 001f65f6..353c3ef0 100644 --- a/src/game-server/commandhandler.cpp +++ b/src/game-server/commandhandler.cpp @@ -670,7 +670,7 @@ static void handleMoney(Character *player, std::string &args) value = utils::stringToInt(valuestr); // change how much money the player has - other->setAttribute(ATTR_GP , other->getAttribute(ATTR_GP) + value); + other->setAttribute(ATTR_GP , other->getAttributeBase(ATTR_GP) + value); // log transaction std::string msg = "User created " + valuestr + " money"; |