From 3eddd930371f30bbb3ebaaa6b2982915a3fee61c Mon Sep 17 00:00:00 2001 From: hydrant Date: Mon, 5 Apr 2021 12:52:24 +0200 Subject: [PATCH] tsupport raus wenn aduty raus --- ReallifeGamemode.Server/Commands/AdminCommands.cs | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/ReallifeGamemode.Server/Commands/AdminCommands.cs b/ReallifeGamemode.Server/Commands/AdminCommands.cs index 2979765b..bcc93fbe 100644 --- a/ReallifeGamemode.Server/Commands/AdminCommands.cs +++ b/ReallifeGamemode.Server/Commands/AdminCommands.cs @@ -354,6 +354,11 @@ namespace ReallifeGamemode.Server.Commands } else { + if(player.GetData("SAdminduty")) + { + CmdAdminTSupport(player); + } + player.SetData("Adminduty", false); ChatService.Broadcast("!{#ee4d2e}[SUPPORT] " + player.Name + " hat sich vom Support abgemeldet");