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