]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Fix radiobuttons by restoring a line of code I removed by accident in e57c3843ef1 229/head
authorterencehill <piuntn@gmail.com>
Sat, 26 Sep 2015 12:32:45 +0000 (14:32 +0200)
committerterencehill <piuntn@gmail.com>
Sat, 26 Sep 2015 12:32:45 +0000 (14:32 +0200)
qcsrc/menu/xonotic/radiobutton.qc

index 27282207795580b122182c1b38c5c47546594d7f..ceeae22ea060f06fd39b071852cfa2cd4263ff5c 100644 (file)
@@ -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);