krankenkasse 0 wenn kein geld
This commit is contained in:
@@ -81,6 +81,10 @@ namespace ReallifeGamemode.Server.Finance
|
|||||||
int rentalFees = GetRentalFees(client);
|
int rentalFees = GetRentalFees(client);
|
||||||
|
|
||||||
int healthInsurance = (int)(user.BankAccount.Balance * 0.001);
|
int healthInsurance = (int)(user.BankAccount.Balance * 0.001);
|
||||||
|
if (healthInsurance < 0)
|
||||||
|
{
|
||||||
|
healthInsurance = 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
int? factionMoney = null;
|
int? factionMoney = null;
|
||||||
|
|||||||
Reference in New Issue
Block a user