diff --git a/MiraAPI/Keybinds/KeybindUtils.cs b/MiraAPI/Keybinds/KeybindUtils.cs
index 3d342d6..fbca1d6 100644
--- a/MiraAPI/Keybinds/KeybindUtils.cs
+++ b/MiraAPI/Keybinds/KeybindUtils.cs
@@ -33,11 +33,11 @@ public static class KeybindUtils
///
/// The action ID.
/// The keyboard keycode.
- public static KeyboardKeyCode? GetKeycodeByActionId(int actionId)
+ public static KeyboardKeyCode GetKeycodeByActionId(int actionId)
{
var player = ReInput.players.GetPlayer(0);
return player.controllers.maps.GetFirstElementMapWithAction(ControllerType.Keyboard, actionId, false)?
- .keyboardKeyCode;
+ .keyboardKeyCode ?? KeyboardKeyCode.None;
}
///