From 8ca4fb3e34d6b7693c577a0625d8cd5d32729aa1 Mon Sep 17 00:00:00 2001 From: Christian 'ketura' McCarty Date: Thu, 3 Nov 2022 01:54:05 -0500 Subject: [PATCH] hack to stop displaying so many gateway timeout errors --- gemp-lotr/gemp-lotr-async/src/main/web/js/gemp-022/hallUi.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gemp-lotr/gemp-lotr-async/src/main/web/js/gemp-022/hallUi.js b/gemp-lotr/gemp-lotr-async/src/main/web/js/gemp-022/hallUi.js index 459dede27..87248b525 100644 --- a/gemp-lotr/gemp-lotr-async/src/main/web/js/gemp-022/hallUi.js +++ b/gemp-lotr/gemp-lotr-async/src/main/web/js/gemp-022/hallUi.js @@ -35,7 +35,7 @@ var GempLotrHallUI = Class.extend({ if (xhr.status == 401) { that.chat.appendMessage("Game hall problem - You're not logged in, go to the main page to log in", "warningMessage"); return; - } else { + } else if (xhr.status != 504) { that.chat.appendMessage("The game hall had a problem communicating with the server (" + xhr.status + "), no new updates will be displayed.", "warningMessage"); that.chat.appendMessage("Reload the browser page (press F5) to resume the game hall functionality.", "warningMessage"); return;