From 23d2a64cc536b6897a9b8212e8cf21b8ad521107 Mon Sep 17 00:00:00 2001 From: Luke Date: Sat, 8 May 2021 19:33:40 +0200 Subject: [PATCH] fix sms --- ReallifeGamemode.Server/Commands/UserCommands.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/ReallifeGamemode.Server/Commands/UserCommands.cs b/ReallifeGamemode.Server/Commands/UserCommands.cs index 5b72b4cc..f38d16f5 100644 --- a/ReallifeGamemode.Server/Commands/UserCommands.cs +++ b/ReallifeGamemode.Server/Commands/UserCommands.cs @@ -118,6 +118,7 @@ namespace ReallifeGamemode.Server.Commands } user.BankAccount.Balance -= 5; + dbContext.SaveChanges(); } msg = Regex.Replace(msg, "(~[a-zA-Z]~)|(!{(.*)})", "");