From: terencehill Date: Fri, 1 Apr 2022 22:32:02 +0000 (+0200) Subject: Fix #2679 for real X-Git-Tag: xonotic-v0.8.5~115 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=c56b01d2e5dbd33234090b63bfe8d04a43232e94;p=xonotic%2Fxonotic-data.pk3dir.git Fix #2679 for real --- diff --git a/qcsrc/menu/menu.qc b/qcsrc/menu/menu.qc index ec94b2cdf..d26066d19 100644 --- a/qcsrc/menu/menu.qc +++ b/qcsrc/menu/menu.qc @@ -681,7 +681,7 @@ void m_draw(float width, float height) { if (autocvar_g_campaign) { - if (connected_time && time - connected_time > 0) + if (connected_time && time - connected_time > 1) { // in the case player uses the disconnect command (in the console or with a key) // reset g_campaign and update menu items to reflect cvar values that may have been restored after quiting the campaign