From: terencehill Date: Sat, 26 Sep 2015 12:32:45 +0000 (+0200) Subject: Fix radiobuttons by restoring a line of code I removed by accident in e57c3843ef1 X-Git-Tag: xonotic-v0.8.2~1892^2 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=refs%2Fmerge-requests%2F229%2Fhead;p=xonotic%2Fxonotic-data.pk3dir.git Fix radiobuttons by restoring a line of code I removed by accident in e57c3843ef1 --- diff --git a/qcsrc/menu/xonotic/radiobutton.qc b/qcsrc/menu/xonotic/radiobutton.qc index 272822077..ceeae22ea 100644 --- a/qcsrc/menu/xonotic/radiobutton.qc +++ b/qcsrc/menu/xonotic/radiobutton.qc @@ -41,6 +41,7 @@ entity makeXonoticRadioButton(float theGroup, string theCvar, string theValue, s void XonoticRadioButton_configureXonoticRadioButton(entity me, float theGroup, string theCvar, string theValue, string theText, string theTooltip) { me.cvarName = (theCvar) ? theCvar : string_null; + me.cvarValue = theValue; me.loadCvars(me); setZonedTooltip(me, theTooltip, theCvar); me.configureRadioButton(me, theText, me.fontSize, me.image, theGroup, 0);