diff --git a/ReallifeGamemode.Server/Wanted/Jail.cs b/ReallifeGamemode.Server/Wanted/Jail.cs index 3f4ec861..29fcd099 100644 --- a/ReallifeGamemode.Server/Wanted/Jail.cs +++ b/ReallifeGamemode.Server/Wanted/Jail.cs @@ -89,13 +89,13 @@ namespace ReallifeGamemode.Server.Wanted int timeMinutes = 0; - if (((int)(client.GetUser().JailTime / 60)) <= 1 && client.GetUser().JailTime != 0) + if (((int)(client.GetUser().jailTime / 60)) <= 1 && client.GetUser().jailTime != 0) { timeMinutes = 1; } else { - timeMinutes = (int)(client.GetUser().JailTime / 60); + timeMinutes = (int)(client.GetUser().jailTime / 60); } client.TriggerEvent("jailTime", JsonConvert.SerializeObject(timeMinutes));