From: Thomas <87614336+Aeshus@users.noreply.github.com> Date: Sun, 27 Oct 2024 18:41:29 +0000 (-0500) Subject: Fix Bug With Uppercase Radio Keys (#32997) X-Git-Url: https://git.smokeofanarchy.ru/gitweb.cgi?a=commitdiff_plain;h=4fbe50ab28be11c89c6d11684e0908d2309f2ce1;p=space-station-14.git Fix Bug With Uppercase Radio Keys (#32997) --- 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];