Commit ccc13f7e authored by Mario's avatar Mario

Merge branch 'terencehill/team_slider_fix' into 'master'

Terencehill/team slider fix

Reload Team slider value when switching gametype

See merge request !70
parents f3b9bfb5 afe0ea35
......@@ -204,7 +204,8 @@ void XonoticServerCreateTab_gameTypeChangeNotify(entity me)
default: x = FALSE; e.configureXonoticTextSlider(e, string_null); break;
}
e.configureXonoticTextSliderValues(e);
e.value = 0;
if(!x)
e.value = 0;
me.sliderTeams.disabled = me.labelTeams.disabled = !x;
me.mapListBox.refilter(me.mapListBox);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment