]> git.smokeofanarchy.ru Git - space-station-14.git/commitdiff
Fix Bug With Uppercase Radio Keys (#32997) (master) (#33031)
authorVasilis <vasilis@pikachu.systems>
Sun, 27 Oct 2024 23:35:23 +0000 (00:35 +0100)
committerGitHub <noreply@github.com>
Sun, 27 Oct 2024 23:35:23 +0000 (00:35 +0100)
Co-authored-by: Thomas <87614336+Aeshus@users.noreply.github.com>
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];