From d7c3cb9a14a549c8ef0115116f5c9f68794b6639 Mon Sep 17 00:00:00 2001 From: hydrant Date: Tue, 30 Jul 2019 13:34:11 +0200 Subject: [PATCH] fix payday --- ReallifeGamemode.Server/Finance/Economy.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ReallifeGamemode.Server/Finance/Economy.cs b/ReallifeGamemode.Server/Finance/Economy.cs index 761fa920..f3e0ed93 100644 --- a/ReallifeGamemode.Server/Finance/Economy.cs +++ b/ReallifeGamemode.Server/Finance/Economy.cs @@ -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();