mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2024-12-01 08:31:14 +00:00
- don't let menu number widgets not lock up the menu if their associated CVAR does not exist.
This commit is contained in:
parent
2e5ada5f25
commit
9caf5c641b
1 changed files with 1 additions and 0 deletions
|
@ -1197,6 +1197,7 @@ class OptionMenuItemNumberField : OptionMenuFieldBase
|
||||||
mCVar.SetFloat(value);
|
mCVar.SetFloat(value);
|
||||||
Menu.MenuSound("menu/change");
|
Menu.MenuSound("menu/change");
|
||||||
}
|
}
|
||||||
|
else return Super.MenuEvent(mkey, fromcontroller);
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue