From 963fed00365811fc1d4b2a6809d16f91a2bcf45c Mon Sep 17 00:00:00 2001 From: Vantha Date: Sat, 14 Feb 2026 18:56:38 +0100 Subject: [PATCH] Fix request timeout error dialog The error dialog only showed "Failed to connect to server. The connection request timed out." while since 78900842b1 it was supposed to display a longer, more detailed message with a link to the FAQ. But this never worked. --- binaries/data/mods/public/gui/common/network.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/binaries/data/mods/public/gui/common/network.js b/binaries/data/mods/public/gui/common/network.js index ba42a6697d..91c8061afb 100644 --- a/binaries/data/mods/public/gui/common/network.js +++ b/binaries/data/mods/public/gui/common/network.js @@ -120,7 +120,7 @@ function getMismatchMessage(mismatchType, clientMismatchInfo, serverMismatchInfo */ function reportDisconnect(message, wasConnected) { - if (message.reason === 0) + if (message.reason === 1) reportConnectionRequestTimeOut(); else if (message.reason == 16) reportMismatchingSoftwareVersions(message.mismatch_type, message.client_mismatch, message.server_mismatch);