]> git.smokeofanarchy.ru Git - space-station-14.git/commitdiff
Fix Bug With Uppercase Radio Keys (#32997)
authorThomas <87614336+Aeshus@users.noreply.github.com>
Sun, 27 Oct 2024 18:41:29 +0000 (13:41 -0500)
committerGitHub <noreply@github.com>
Sun, 27 Oct 2024 18:41:29 +0000 (11:41 -0700)
Content.Shared/Chat/SharedChatSystem.cs

index 84b0e2266ec8424733513d6e95b56a9a0802e817..e5f3d4699747897601a6c9f3652ceeeb81e58fb0 100644 (file)
@@ -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];