From: terencehill Date: Sun, 30 Aug 2015 18:15:10 +0000 (+0200) Subject: Get rid of a hack that does nothing, e.value is already properly initialized in confi... X-Git-Tag: xonotic-v0.8.2~1808^2~19 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=307e3a5faf6af39d938d036e26ea3de9bf24b305;p=xonotic%2Fxonotic-data.pk3dir.git Get rid of a hack that does nothing, e.value is already properly initialized in configureTextSliderValues(e) --- diff --git a/qcsrc/menu/xonotic/dialog_multiplayer_create.qc b/qcsrc/menu/xonotic/dialog_multiplayer_create.qc index 0c27210aa..bafd9b6ff 100644 --- a/qcsrc/menu/xonotic/dialog_multiplayer_create.qc +++ b/qcsrc/menu/xonotic/dialog_multiplayer_create.qc @@ -247,8 +247,6 @@ void XonoticServerCreateTab_gameTypeChangeNotify(entity me) } e.configureXonoticTextSlider(e, x, theTooltip); e.configureXonoticTextSliderValues(e); - if(!x) - e.value = 0; me.sliderTeams.disabled = me.labelTeams.disabled = !x; me.mapListBox.refilter(me.mapListBox);