From 830e542f4ec0feb290272174ac0c37e27c68aa0e Mon Sep 17 00:00:00 2001 From: Christian 'ketura' McCarty Date: Thu, 3 Nov 2022 01:56:24 -0500 Subject: [PATCH] hack betterer --- .../gemp-lotr-async/src/main/web/js/gemp-022/hallUi.js | 6 +++++- 1 file changed, 5 insertions(+), 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 87248b525..989614355 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,11 @@ 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 if (xhr.status != 504) { + } + else if (xhr.status == 504) { + return + } + 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;