Skip to content

Commit

Permalink
WD EDIT
Browse files Browse the repository at this point in the history
  • Loading branch information
Spatison committed Sep 11, 2024
1 parent 301c2d2 commit 0749b3d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ public void UnloadButtons()
_action.UnloadButton();
_sandbox.UnloadButton();
_language.UnloadButton();
_emotions.LoadButton();
_emotions.LoadButton(); // WD EDIT
}

public void LoadButtons()
Expand All @@ -63,6 +63,6 @@ public void LoadButtons()
_action.LoadButton();
_sandbox.LoadButton();
_language.LoadButton();
_emotions.LoadButton();
_emotions.LoadButton(); // WD EDIT
}
}
2 changes: 1 addition & 1 deletion Content.Server/Chat/Systems/ChatSystem.Emote.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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}";
Expand Down

0 comments on commit 0749b3d

Please sign in to comment.