]> git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/menu/xonotic/radiobutton.qc
Make work tooltips of those special TextSliders that reconfigure their self at runtim...
[xonotic/xonotic-data.pk3dir.git] / qcsrc / menu / xonotic / radiobutton.qc
index ef919d8ad2dc89713c6387badf562cb3f8c1373d..7e999392420a5ae283db81828e6aa8c9fd6eceea 100644 (file)
@@ -43,9 +43,9 @@ void XonoticRadioButton_configureXonoticRadioButton(entity me, float theGroup, s
        if(theCvar)
        {
                me.cvarName = theCvar;
-               me.tooltip = getZonedTooltip(theTooltip, theCvar);
                me.loadCvars(me);
        }
+       setZonedTooltip(me, theTooltip, theCvar);
        me.configureRadioButton(me, theText, me.fontSize, me.image, theGroup, 0);
 }
 void XonoticRadioButton_setChecked(entity me, float val)