mirror of
https://gitea.wildfiregames.com/0ad/0ad
synced 2026-06-16 05:13:58 -07:00
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:
parent
0168ad9cbe
commit
963fed0036
1 changed files with 1 additions and 1 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Reference in a new issue