diff --git a/ReallifeGamemode.Server/Commands/FactionCommands.cs b/ReallifeGamemode.Server/Commands/FactionCommands.cs index 89177d2a..e1e92fb2 100644 --- a/ReallifeGamemode.Server/Commands/FactionCommands.cs +++ b/ReallifeGamemode.Server/Commands/FactionCommands.cs @@ -290,8 +290,8 @@ namespace ReallifeGamemode.Server.Commands } ChatService.SendMessage(target, "!{#8181E9}Deine Akte wurde von " + player.Name + " gelöscht. Grund: " + reason); ChatService.BroadcastFaction("!{#8181E9}HQ: Die Akte von " + target.Name + " wurde von " + player.Name + " gelöscht. Grund: " + reason + ".", new List() { 1, 3 }); - - switch (targetUser.Faction.Name) + target.SetSharedData("blipColor", 0); + switch (targetUser.Faction.Name) { case "Ballas": target.SetSharedData("blipColor", 83); @@ -304,10 +304,7 @@ namespace ReallifeGamemode.Server.Commands break; } - else - { - target.SetSharedData("blipColor", 0); - } + targetUser.Wanteds = 0; dbContext.SaveChanges(); }