From ce5d6cf44d8ec67afaf3e1f6fbdef3d7845d483d Mon Sep 17 00:00:00 2001 From: Michael Date: Fri, 11 Sep 2020 14:45:18 +0200 Subject: [PATCH] kleiner bug aber micha findet fehler nicht --- ReallifeGamemode.Server/Events/Death.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ReallifeGamemode.Server/Events/Death.cs b/ReallifeGamemode.Server/Events/Death.cs index 1221f776..0cd45e8a 100644 --- a/ReallifeGamemode.Server/Events/Death.cs +++ b/ReallifeGamemode.Server/Events/Death.cs @@ -95,7 +95,7 @@ namespace ReallifeGamemode.Server.Events Medic.AddTaskToList(reviveTask); ChatService.BroadcastFaction("~y~[MEDIC] ~w~" + player.Name + " ist soeben verstorben.", new List() { 2 }); - if (user.Wanteds <= 0) + if (user.Wanteds <= 0 && user.JailTime <= 0) { return; }