Use global config for currency string

This commit is contained in:
Vortrex
2022-09-04 15:50:40 -05:00
parent 4de8da0561
commit 780b8aacdf

View File

@@ -216,7 +216,7 @@ function isDoubleBonusActive() {
// =========================================================================== // ===========================================================================
function getCurrencyString(amount) { function getCurrencyString(amount) {
let tempString = getEconomyConfig().currencyString let tempString = getGlobalConfig().economy.currencyString;
tempString = tempString.replace("{AMOUNT}", toString(makeLargeNumberReadable(amount))); tempString = tempString.replace("{AMOUNT}", toString(makeLargeNumberReadable(amount)));
return tempString; return tempString;
} }