]> git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/menu/xonotic/inputbox.qc
Make work tooltips of those special TextSliders that reconfigure their self at runtim...
[xonotic/xonotic-data.pk3dir.git] / qcsrc / menu / xonotic / inputbox.qc
index 6b532a0b32e0d7b3635806b894f7e6b8905aa1fe..c72339caf6e5b12dc6257f64b358c8c31353951d 100644 (file)
@@ -56,9 +56,9 @@ void XonoticInputBox_configureXonoticInputBox(entity me, float doEditColorCodes,
        if(theCvar)
        {
                me.cvarName = theCvar;
-               me.tooltip = getZonedTooltip(theTooltip, theCvar);
                me.loadCvars(me);
        }
+       setZonedTooltip(me, theTooltip, theCvar);
        me.cursorPos = strlen(me.text);
 }
 void XonoticInputBox_focusLeave(entity me)