From 7e526da5219f56d785007a24c382bb87905f5604 Mon Sep 17 00:00:00 2001 From: Vasilis Date: Mon, 28 Oct 2024 00:35:23 +0100 Subject: [PATCH] Fix Bug With Uppercase Radio Keys (#32997) (master) (#33031) Co-authored-by: Thomas <87614336+Aeshus@users.noreply.github.com> --- Content.Shared/Chat/SharedChatSystem.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Content.Shared/Chat/SharedChatSystem.cs b/Content.Shared/Chat/SharedChatSystem.cs index 84b0e2266e..e5f3d46997 100644 --- a/Content.Shared/Chat/SharedChatSystem.cs +++ b/Content.Shared/Chat/SharedChatSystem.cs @@ -106,7 +106,7 @@ public abstract class SharedChatSystem : EntitySystem if (!(input.StartsWith(RadioChannelPrefix) || input.StartsWith(RadioChannelAltPrefix))) return; - if (!_keyCodes.TryGetValue(input[1], out _)) + if (!_keyCodes.TryGetValue(char.ToLower(input[1]), out _)) return; prefix = input[..2]; -- 2.52.0