mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
M_HandleMenuInput: Fix incorrect menuKey comparison that was preventing the Virtual Keyboard from ever being activated on first opening
This commit is contained in:
parent
fb578d7da2
commit
df31f7cf3a
1 changed files with 1 additions and 1 deletions
|
|
@ -887,7 +887,7 @@ static void M_HandleMenuInput(void)
|
||||||
// If we're hovering over a IT_CV_STRING option, pressing A/X opens the typing submenu
|
// If we're hovering over a IT_CV_STRING option, pressing A/X opens the typing submenu
|
||||||
if (M_MenuConfirmPressed(pid))
|
if (M_MenuConfirmPressed(pid))
|
||||||
{
|
{
|
||||||
menutyping.keyboardtyping = menuKey != 0 ? true : false; // If we entered this menu by pressing a menu Key, default to keyboard typing, otherwise use controller.
|
menutyping.keyboardtyping = menuKey != -1 ? true : false; // If we entered this menu by pressing a menu Key, default to keyboard typing, otherwise use controller.
|
||||||
menutyping.active = true;
|
menutyping.active = true;
|
||||||
menutyping.menutypingclose = false;
|
menutyping.menutypingclose = false;
|
||||||
return;
|
return;
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue