fix payday
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user