diff --git a/ReallifeGamemode.Client/Player/reportmenu.ts b/ReallifeGamemode.Client/Player/reportmenu.ts index 5b7bbb39..11463ab0 100644 --- a/ReallifeGamemode.Client/Player/reportmenu.ts +++ b/ReallifeGamemode.Client/Player/reportmenu.ts @@ -91,7 +91,7 @@ export default function reportList(globalData: IGlobalData) { var types = ["Ticket", "Quick-Report"]; - reportMenu = new Menu("Ticket/Quick-Report", "", new Point(0, screenRes.y / 3), null, null); + reportMenu = new Menu("Support", "", new Point(0, screenRes.y / 3), null, null); var typesItem = new UIMenuListItem("Typ", "", new ItemsCollection(types)); reportMenu.AddItem(typesItem); diff --git a/ReallifeGamemode.Server/Report/Report.cs b/ReallifeGamemode.Server/Report/Report.cs index cb89fc5f..6a0aa883 100644 --- a/ReallifeGamemode.Server/Report/Report.cs +++ b/ReallifeGamemode.Server/Report/Report.cs @@ -180,7 +180,7 @@ namespace ReallifeGamemode.Server.Report public void RequestReport(Player user, string type, string data) { string text = JsonConvert.DeserializeObject(data); - if (type == "Ticket Report") + if (type == "Ticket") { ReportManage temp = null; for (int a = 0; a < listReports.Count; a++) @@ -213,7 +213,7 @@ namespace ReallifeGamemode.Server.Report listReports.Add(ticket); //ChatService.SendMessage(user, "!{#addc8d}In Bearbeitung"); } - if (type == "Quick Report") + if (type == "Quick-Report") { ChatService.BroadcastAdmin("!{#008fff}[QR]~w~ " + user.Name + " (" + user.Handle.Value + ")~w~: " + text, AdminLevel.SUPPORTER); user.SendChatMessage("~w~Dein Quick Report wurde an das Adminteam weitergeleitet");