forked from mirrors/0ad
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.
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user