GetKeyDown => GetKey

This commit is contained in:
Gurge44 committed 2026-02-16 08:23:55 +01:00
1 parent b57e4d04c2
commit f8ec665dc3
1 file changed
+1 -1
+1 -1
View File
@@ -2448,7 +2448,7 @@ internal static class ChatCommands
private static void RCommand(PlayerControl player, string text, string[] args)
{
string subArgs = text.Remove(0, 2);
byte to = player.AmOwner && Input.GetKeyDown(KeyCode.LeftShift) ? byte.MaxValue : player.PlayerId;
byte to = player.AmOwner && Input.GetKey(KeyCode.LeftShift) ? byte.MaxValue : player.PlayerId;
SendRolesInfo(subArgs, to);
}