diff --git a/ReallifeGamemode.Server/Wanted/Jail.cs b/ReallifeGamemode.Server/Wanted/Jail.cs index 4a92c263..fe51b4b1 100644 --- a/ReallifeGamemode.Server/Wanted/Jail.cs +++ b/ReallifeGamemode.Server/Wanted/Jail.cs @@ -45,10 +45,9 @@ namespace ReallifeGamemode.Server.Wanted } else { - timeMinutes = (user.JailTime / 60); + timeMinutes = user.JailTime / 60; } player.TriggerEvent("jailTime", timeMinutes); - return; } } @@ -77,7 +76,7 @@ namespace ReallifeGamemode.Server.Wanted continue; } - User user = player.GetUser(); + User user = player.GetUser(dbContext); if (user != null && user.Wanteds > 0 && !Jailtime.ContainsKey(user.Id)) {