diff --git a/src/gui/coin/Redeem.cpp b/src/gui/coin/Redeem.cpp index e4f7e9af9..f85e9f4d4 100644 --- a/src/gui/coin/Redeem.cpp +++ b/src/gui/coin/Redeem.cpp @@ -34,7 +34,7 @@ public: std::string unlockPrice = format::NumberToString(price); if (numCoins < price) { - new ErrorMessage("Cannot afford pack", "This pack requires " + unlockPrice + ErrorMessage::Blocking("Cannot afford pack", "This pack requires " + unlockPrice + " \xEA""owdercoins to purchase.\n\nYou have " + format::NumberToString(numCoins) + " coins"); } else diff --git a/src/gui/game/GameController.cpp b/src/gui/game/GameController.cpp index 2274e5d7f..44c9e432e 100644 --- a/src/gui/game/GameController.cpp +++ b/src/gui/game/GameController.cpp @@ -196,7 +196,7 @@ GameController::GameController(): if (salt != expectedSaltStr) { - gameModel->Log("Coins have been reset due to login status change or tampering, expected " + expectedSaltStr + ", got " + salt + ", current coins " + format::NumberToString(coins), false); + gameModel->Log("Coins have been reset due to login status change or tampering", false); coins = 0; } }