diff --git a/wadsrc/static/zscript/ui/menu/optionmenuitems.zs b/wadsrc/static/zscript/ui/menu/optionmenuitems.zs index 6598edb69..b5cfb1c2e 100644 --- a/wadsrc/static/zscript/ui/menu/optionmenuitems.zs +++ b/wadsrc/static/zscript/ui/menu/optionmenuitems.zs @@ -1134,6 +1134,10 @@ class OptionMenuFieldBase : OptionMenuItem return false; } + override bool Selectable() + { + return mGrayCheck == null || mGrayCheck.GetInt() != 0; + } CVar mCVar; CVar mGrayCheck;