From: bones_was_here Date: Mon, 11 Jul 2022 09:42:38 +0000 (+1000) Subject: Revert "Make sure endless function call loop actually works" X-Git-Tag: xonotic-v0.8.6~419 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=e1907c7dac807e4ccb0bef3a029568a1237d88c7;p=xonotic%2Fxonotic-data.pk3dir.git Revert "Make sure endless function call loop actually works" This reverts commit af68e02202d3fc9fba725cc1f5f227f364b25d3e. --- diff --git a/qcsrc/menu/xonotic/util.qc b/qcsrc/menu/xonotic/util.qc index f98a8de88..d8640a501 100644 --- a/qcsrc/menu/xonotic/util.qc +++ b/qcsrc/menu/xonotic/util.qc @@ -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;