remove null check, it's always none when null

This commit is contained in:
xChipseq committed 2025-09-04 21:51:45 +02:00
1 parent ecadfa86dd
commit bebd648691
1 file changed
+1 -1
+1 -1
View File
@@ -116,7 +116,7 @@ public static class HudManagerPatches
var buttonObj = kvp.Key;
var actionId = kvp.Value;
var key = KeybindUtils.GetKeycodeByActionId(actionId) ?? KeyboardKeyCode.None;
var key = KeybindUtils.GetKeycodeByActionId(actionId);
if (key == KeyboardKeyCode.None)
{
continue;