diff --git a/ReallifeGamemode.Server/Wanted/Jail.cs b/ReallifeGamemode.Server/Wanted/Jail.cs index 8caaec9e..f4a54615 100644 --- a/ReallifeGamemode.Server/Wanted/Jail.cs +++ b/ReallifeGamemode.Server/Wanted/Jail.cs @@ -76,18 +76,18 @@ namespace ReallifeGamemode.Server.Wanted Medic.RemoveTaskFromList(task); client.Health = 100; - int t = 0; + int timeMinutes = 0; if (((int)(user.JailTime / 60)) == 0) { - t = 1; + timeMinutes = 1; } else { - t = (int)(user.JailTime / 60); + timeMinutes = (int)(user.JailTime / 60); } - client.TriggerEvent("jailTime", t); + client.TriggerEvent("jailTime", timeMinutes); ChatService.SendMessage(client, "!{#FF614A}* Du bist nun im Gefängnis für " + jailTime + " Sekunden."); ChatService.BroadcastFaction("!{#8181E9}HQ: " + user.Name + " wurde ins Gefängnis geliefert.", new List() { 1, 3 }); } @@ -180,17 +180,17 @@ namespace ReallifeGamemode.Server.Wanted dbContext.SaveChanges(); } - int t = 0; + int timeMinutes = 0; if (((int)(user.JailTime / 60)) == 0) { - t = 1; + timeMinutes = 1; } else { - t = (int)(user.JailTime / 60); + timeMinutes = (int)(user.JailTime / 60); } - player.TriggerEvent("jailTime", t); + player.TriggerEvent("jailTime", timeMinutes); player.Health = 100; } }