]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/menu/menu.qc
Fix #2679 for real
[xonotic/xonotic-data.pk3dir.git] / qcsrc / menu / menu.qc
index ec94b2cdfcc0f9acdbe0f9685a608a0dae8e5fa1..d26066d190663d28a521a461c270a5d84c0213ae 100644 (file)
@@ -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