From 9caf5c641b374848c065059b5152339806fa7734 Mon Sep 17 00:00:00 2001 From: Christoph Oelckers Date: Tue, 14 Feb 2017 19:06:45 +0100 Subject: [PATCH] - don't let menu number widgets not lock up the menu if their associated CVAR does not exist. --- wadsrc/static/zscript/menu/optionmenuitems.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/wadsrc/static/zscript/menu/optionmenuitems.txt b/wadsrc/static/zscript/menu/optionmenuitems.txt index d21c4ba66..ad4e45677 100644 --- a/wadsrc/static/zscript/menu/optionmenuitems.txt +++ b/wadsrc/static/zscript/menu/optionmenuitems.txt @@ -1197,6 +1197,7 @@ class OptionMenuItemNumberField : OptionMenuFieldBase mCVar.SetFloat(value); Menu.MenuSound("menu/change"); } + else return Super.MenuEvent(mkey, fromcontroller); return true; }