From d4bfd37ef37985d17b0ef1c08df8b4f8db4bc47d Mon Sep 17 00:00:00 2001 From: Fabian Date: Wed, 14 Apr 2021 21:31:15 +0200 Subject: [PATCH] fx --- ReallifeGamemode.Server/Events/Disconnect.cs | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/ReallifeGamemode.Server/Events/Disconnect.cs b/ReallifeGamemode.Server/Events/Disconnect.cs index e62e8ece..8fa51e67 100644 --- a/ReallifeGamemode.Server/Events/Disconnect.cs +++ b/ReallifeGamemode.Server/Events/Disconnect.cs @@ -63,11 +63,7 @@ namespace ReallifeGamemode.Server.Events ChatService.BroadcastAdmin("!{#FFFF00}*** " + player.Name + " hat den Server verlassen", AdminLevel.MAPPING); } - if (!player.HasData("isDead") || !player.GetData("isDead")) - { - ChatService.BroadcastFaction("Info: " + "Der Auftrag von " + player.Name + " wurde entfernt (Ausgeloggt)", new List() { 2 }); - return; - } + ChatService.BroadcastFaction("Info: " + "Der Auftrag von " + player.Name + " wurde entfernt (Ausgeloggt)", new List() { 2 }); /* TaxiDriverJob taxiJob = JobManager.GetJob();