- fixed: The color sliders in the player setup menu may not be selected when inactive.

This commit is contained in:
Christoph Oelckers 2019-04-19 07:50:52 +02:00
parent 327a83a54b
commit a5d743cc3b

View file

@ -211,7 +211,11 @@ class OptionMenuItemPlayerColorSlider : OptionMenuSliderBase
return indent;
}
override bool Selectable()
{
int mycolorset = players[consoleplayer].GetColorSet();
return (mycolorset == -1);
}
}
//=============================================================================
@ -522,6 +526,7 @@ class NewPlayerMenu : OptionMenu
return Super.OnUIEvent(ev);
}
//=============================================================================
//
//