mirror of
https://github.com/space-wizards/space-station-14.git
synced 2026-02-14 19:29:53 +01:00
Fix warning spam from ShortKeyName (#42351)
This commit is contained in:
committed by
GitHub
parent
f0ae5896b7
commit
c0fbaf1228
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user