mirror of
https://github.com/Gurge44/EndlessHostRoles.git
synced 2026-10-20 01:46:25 +00:00
GetKeyDown => GetKey
This commit is contained in:
1 parent
b57e4d04c2
commit
f8ec665dc3
1 file changed
+1
-1
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user