GELD LOGS
This commit is contained in:
@@ -10,6 +10,7 @@ using ReallifeGamemode.Server.Core.Extensions;
|
||||
using System.Linq;
|
||||
using ReallifeGamemode.Database.Models;
|
||||
using ReallifeGamemode.Server.Common;
|
||||
using Microsoft.Extensions.Logging;
|
||||
|
||||
namespace ReallifeGamemode.Server.Core.Managers
|
||||
{
|
||||
@@ -451,6 +452,8 @@ namespace ReallifeGamemode.Server.Core.Managers
|
||||
return;
|
||||
}
|
||||
|
||||
Log.LogInformation("Player {0} did a withdraw of {1} dollars from house {2}", player.Name, amount, house.Id);
|
||||
|
||||
user.BankAccount.Balance += amount;
|
||||
house.BankAccount.Balance -= amount;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user