looooooooooooooool
This commit is contained in:
@@ -85,7 +85,7 @@ namespace ReallifeGamemode.Server.Util
|
|||||||
{
|
{
|
||||||
User user = player.GetUser(dbContext);
|
User user = player.GetUser(dbContext);
|
||||||
user.BankAccount.Balance -= mapPlayerRentcarBill[player.Name].Item2;
|
user.BankAccount.Balance -= mapPlayerRentcarBill[player.Name].Item2;
|
||||||
logger.LogInformation("Player {0} cancelled a rent and payed {1} dollars ({3})", player.Name, mapPlayerRentcarBill[player.Name].Item2, cancelReason.ToString());
|
logger.LogInformation("Player {0} cancelled a rent and payed {1} dollars ({2})", player.Name, mapPlayerRentcarBill[player.Name].Item2, cancelReason.ToString());
|
||||||
dbContext.SaveChanges();
|
dbContext.SaveChanges();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user