Fix payday

This commit is contained in:
Vortrex
2021-12-13 20:47:18 -06:00
parent d0f33326f6
commit 371374eeaf

View File

@@ -34,9 +34,9 @@ function playerPayDay(client) {
grossIncome = grossIncome + getGlobalConfig().economy.passiveIncomePerPayDay;
grossIncome = grossIncome*getGlobalConfig().economy.grossIncomeMultiplier;
incomeTaxAmount = calculateIncomeTax(wealth);
let incomeTaxAmount = calculateIncomeTax(wealth);
let netIncome = grossIncome-taxAmount;
let netIncome = grossIncome-incomeTaxAmount;
messagePlayerAlert(client, "== Payday! =============================");
messagePlayerInfo(client, `Paycheck: {ALTCOLOUR}$${grossIncome}`);