fix payday

This commit is contained in:
hydrant
2019-07-30 13:34:11 +02:00
parent 60718b24b5
commit d7c3cb9a14

View File

@@ -161,7 +161,7 @@ namespace ReallifeGamemode.Server.Finance
int vehicleTaxation = GetVehicleTaxation(client);
int rentalFees = GetRentalFees(client);
int amount = wage - (int)(wage * financialInterest) - vehicleTaxation - (int)propertyTax + (int)financialHelp;
int amount = wage - (int)(wage * financialInterest) - vehicleTaxation - (int)propertyTax + (int)financialHelp - rentalFees;
Paycheck paycheck = new Paycheck(financialHelp, financialInterest, vehicleTaxation, propertyTax, wage, amount, rentalFees);
User user = client.GetUser();