fix breakout wanteds

This commit is contained in:
hydrant
2019-07-16 22:52:39 +02:00
parent d73d4d3e61
commit 936f076a65

View File

@@ -114,8 +114,8 @@ namespace ReallifeGamemode.Server.Wanted
{
using (var dbContext = new DatabaseContext())
{
player.GetUser(dbContext).Wanteds = 50;
player.GetUser(dbContext).JailTime = 0;
user = player.GetUser(dbContext);
user.GiveWanteds(null, 50, "Knast-Ausbruch");
dbContext.SaveChanges();
jailtime.Remove(user.Id);
}