From 3455cb47f6cced2c4894153cc273ee7e3c5a6556 Mon Sep 17 00:00:00 2001 From: Christian 'ketura' McCarty Date: Wed, 2 Aug 2023 20:22:21 -0500 Subject: [PATCH] Trying the default discord integration with a small delay now upon creation --- gemp-lotr/gemp-lotr-async/src/main/web/js/gemp-022/chat.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gemp-lotr/gemp-lotr-async/src/main/web/js/gemp-022/chat.js b/gemp-lotr/gemp-lotr-async/src/main/web/js/gemp-022/chat.js index d9c0b84b5..8af6811c1 100644 --- a/gemp-lotr/gemp-lotr-async/src/main/web/js/gemp-022/chat.js +++ b/gemp-lotr/gemp-lotr-async/src/main/web/js/gemp-022/chat.js @@ -67,7 +67,7 @@ var ChatBoxUI = Class.extend({ this.comm.getPlayerInfo(function(json) { that.initPlayerInfo(json); - //that.setDiscordVisible(true); + setTimeout(() => { that.setDiscordVisible(true); }, 10); }, this.chatErrorMap()); if (this.name != null) {