mirror of
https://github.com/space-syndicate/space-station-14.git
synced 2026-10-09 10:21:18 +03:00
Fix warning spam from ShortKeyName (#42351)
This commit is contained in:
parent
f0ae5896b7
commit
c0fbaf1228
1 changed files with 1 additions and 1 deletions
|
|
@ -10,7 +10,7 @@ public static class BoundKeyHelper
|
|||
public static string ShortKeyName(BoundKeyFunction keyFunction)
|
||||
{
|
||||
// need to use shortened key names so they fit in the buttons.
|
||||
return TryGetShortKeyName(keyFunction, out var name) ? Loc.GetString(name) : " ";
|
||||
return TryGetShortKeyName(keyFunction, out var name) ? name : " ";
|
||||
}
|
||||
|
||||
public static bool IsBound(BoundKeyFunction keyFunction)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue