fix breakout wanteds
This commit is contained in:
@@ -114,8 +114,8 @@ namespace ReallifeGamemode.Server.Wanted
|
|||||||
{
|
{
|
||||||
using (var dbContext = new DatabaseContext())
|
using (var dbContext = new DatabaseContext())
|
||||||
{
|
{
|
||||||
player.GetUser(dbContext).Wanteds = 50;
|
user = player.GetUser(dbContext);
|
||||||
player.GetUser(dbContext).JailTime = 0;
|
user.GiveWanteds(null, 50, "Knast-Ausbruch");
|
||||||
dbContext.SaveChanges();
|
dbContext.SaveChanges();
|
||||||
jailtime.Remove(user.Id);
|
jailtime.Remove(user.Id);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user