From 0749b3dec8e2e1a4fcecd351238d01002aa1cad4 Mon Sep 17 00:00:00 2001 From: Spatison <137375981+Spatison@users.noreply.github.com> Date: Wed, 11 Sep 2024 23:09:28 +0300 Subject: [PATCH] WD EDIT --- .../Systems/MenuBar/GameTopMenuBarUIController.cs | 4 ++-- Content.Server/Chat/Systems/ChatSystem.Emote.cs | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Content.Client/UserInterface/Systems/MenuBar/GameTopMenuBarUIController.cs b/Content.Client/UserInterface/Systems/MenuBar/GameTopMenuBarUIController.cs index 01da23d725..29cb974843 100644 --- a/Content.Client/UserInterface/Systems/MenuBar/GameTopMenuBarUIController.cs +++ b/Content.Client/UserInterface/Systems/MenuBar/GameTopMenuBarUIController.cs @@ -49,7 +49,7 @@ public void UnloadButtons() _action.UnloadButton(); _sandbox.UnloadButton(); _language.UnloadButton(); - _emotions.LoadButton(); + _emotions.LoadButton(); // WD EDIT } public void LoadButtons() @@ -63,6 +63,6 @@ public void LoadButtons() _action.LoadButton(); _sandbox.LoadButton(); _language.LoadButton(); - _emotions.LoadButton(); + _emotions.LoadButton(); // WD EDIT } } diff --git a/Content.Server/Chat/Systems/ChatSystem.Emote.cs b/Content.Server/Chat/Systems/ChatSystem.Emote.cs index 985c881f17..9ad30bc572 100644 --- a/Content.Server/Chat/Systems/ChatSystem.Emote.cs +++ b/Content.Server/Chat/Systems/ChatSystem.Emote.cs @@ -28,7 +28,7 @@ private void CacheEmotes() { foreach (var word in emote.ChatTriggers) { - var lowerWord = Loc.GetString(word).ToLower(); + var lowerWord = Loc.GetString(word).ToLower(); // WD EDIT if (dict.TryGetValue(lowerWord, out var value)) { var errMsg = $"Duplicate of emote word {lowerWord} in emotes {emote.ID} and {value.ID}";