]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Revert "Make sure endless function call loop actually works"
authorbones_was_here <bones_was_here@xa.org.au>
Mon, 11 Jul 2022 09:42:38 +0000 (19:42 +1000)
committerbones_was_here <bones_was_here@xa.org.au>
Mon, 11 Jul 2022 09:42:38 +0000 (19:42 +1000)
This reverts commit af68e02202d3fc9fba725cc1f5f227f364b25d3e.

qcsrc/menu/xonotic/util.qc

index f98a8de8876e18ea5258fb5e0b6847234fc87de3..d8640a501c3650344fa836af31d26a38d60192f8 100644 (file)
@@ -492,16 +492,11 @@ void updateCheck()
 
 }
 
-bool show_propermenu = false;
-
 float preMenuInit()
 {
        vector sz;
        vector boxA, boxB;
 
-       if(random() < 0.1)
-               show_propermenu = true;
-
        updateCheck();
 
        MapInfo_Cache_Create();
@@ -546,10 +541,7 @@ void preMenuDraw()
                fs = ((1/draw_scale.x) * eX + (1/draw_scale.y) * eY) * 12;
                line = eY * fs.y;
                string l1, l2;
-               if(show_propermenu)
-                       l1 = sprintf("Jeff pay 4 new weapons for %s", _Nex_ExtResponseSystem_UpdateTo);
-               else
-                       l1 = sprintf(_("Update to %s now!"), _Nex_ExtResponseSystem_UpdateTo);
+               l1 = sprintf(_("Update to %s now!"), _Nex_ExtResponseSystem_UpdateTo);
                l2 = "http://www.xonotic.org/";
                if(_Nex_ExtResponseSystem_UpdateToURL)
                        l2 = _Nex_ExtResponseSystem_UpdateToURL;