diff --git a/src/game/game.cpp b/src/game/game.cpp index 2a7487548f0..ee272442085 100644 --- a/src/game/game.cpp +++ b/src/game/game.cpp @@ -9069,8 +9069,7 @@ void Game::playerCreateMarketOffer(uint32_t playerId, uint8_t type, uint16_t ite uint64_t fee = std::clamp(totalFee, uint64_t(20), maxFee); // Limit between 20 and maxFee if (type == MARKETACTION_SELL) { - uint64_t totalPriceWithFee = totalPrice + fee; - if (totalPriceWithFee > (player->getMoney() + player->getBankBalance())) { + if (fee > (player->getMoney() + player->getBankBalance())) { offerStatus << "Fee is greater than player money"; return; }