]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/menu/xonotic/checkbox.qc
Make work tooltips of those special TextSliders that reconfigure their self at runtim...
[xonotic/xonotic-data.pk3dir.git] / qcsrc / menu / xonotic / checkbox.qc
index 1925d9c966ef9476225f0c634c4480b480b98e09..88fbfaa2a77483aa58aedd8a47f1f17057f3ef24 100644 (file)
@@ -79,9 +79,9 @@ void XonoticCheckBox_configureXonoticCheckBox(entity me, float theYesValue, floa
        if(theCvar)
        {
                me.cvarName = theCvar;
-               me.tooltip = getZonedTooltip(theTooltip, theCvar);
                me.loadCvars(me);
        }
+       setZonedTooltip(me, theTooltip, theCvar);
        me.configureCheckBox(me, theText, me.fontSize, me.image);
 }
 void XonoticCheckBox_setChecked(entity me, float val)