From 4011890a688b749e78e19d514398dba8fc2cf336 Mon Sep 17 00:00:00 2001 From: terencehill Date: Sat, 26 Sep 2015 14:32:45 +0200 Subject: [PATCH] Fix radiobuttons by restoring a line of code I removed by accident in e57c3843ef1 --- qcsrc/menu/xonotic/radiobutton.qc | 1 + 1 file changed, 1 insertion(+) 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); -- 2.39.2