bindestrich zwischen quick und report im chat hinzugefügt + /report-Überschrift nochmal angepasst

This commit is contained in:
Luke
2021-05-02 22:50:30 +00:00
parent a3d7082451
commit b4617d9f03
2 changed files with 2 additions and 2 deletions

View File

@@ -91,7 +91,7 @@ export default function reportList(globalData: IGlobalData) {
var types = ["Ticket", "Quick-Report"]; var types = ["Ticket", "Quick-Report"];
reportMenu = new Menu("Support", "", new Point(0, screenRes.y / 3), null, null); reportMenu = new Menu("Report", "", new Point(0, screenRes.y / 3), null, null);
var typesItem = new UIMenuListItem("Typ", "", new ItemsCollection(types)); var typesItem = new UIMenuListItem("Typ", "", new ItemsCollection(types));
reportMenu.AddItem(typesItem); reportMenu.AddItem(typesItem);

View File

@@ -216,7 +216,7 @@ namespace ReallifeGamemode.Server.Report
if (type == "Quick-Report") if (type == "Quick-Report")
{ {
ChatService.BroadcastAdmin("!{#008fff}[QR]~w~ " + user.Name + " (" + user.Handle.Value + ")~w~: " + text, AdminLevel.SUPPORTER); 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"); user.SendChatMessage("~w~Dein Quick-Report wurde an das Adminteam weitergeleitet");
} }
} }