- don't let menu number widgets not lock up the menu if their associated CVAR does not exist.

This commit is contained in:
Christoph Oelckers 2017-02-14 19:06:45 +01:00
parent 2e5ada5f25
commit 9caf5c641b

View file

@ -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;
} }