improve paycheck and weapondeal logs
This commit is contained in:
@@ -166,7 +166,14 @@ namespace ReallifeGamemode.Server.Finance
|
||||
}
|
||||
}
|
||||
|
||||
logger.LogInformation("Player {0} has a payday of {1} dollars. old balance: {2}, new balance: {3}", client.Name, paycheck.Amount, u.BankAccount.Balance, u.BankAccount.Balance + paycheck.Amount);
|
||||
logger.LogInformation("Player {0} has a payday of {1} dollars. old balance: {2}, new balance: {3}, wage: {4}, interest: {5}, other: {6}",
|
||||
client.Name,
|
||||
paycheck.Amount,
|
||||
u.BankAccount.Balance,
|
||||
u.BankAccount.Balance + paycheck.Amount,
|
||||
paycheck.Wage,
|
||||
paycheck.FinancialInterest,
|
||||
paycheck.otheramount);
|
||||
|
||||
u.BankAccount.Balance += paycheck.Amount;
|
||||
u.Wage = 0;
|
||||
|
||||
Reference in New Issue
Block a user