From d6db6be708d862513617e3eafbae633ba02345f7 Mon Sep 17 00:00:00 2001 From: MuDzYNN Date: Mon, 5 Jul 2021 00:58:30 +0200 Subject: [PATCH] Update App.ts --- resources/[gameplay]/chat/html/App.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/[gameplay]/chat/html/App.ts b/resources/[gameplay]/chat/html/App.ts index 031d59e2b..06dc9f9a2 100644 --- a/resources/[gameplay]/chat/html/App.ts +++ b/resources/[gameplay]/chat/html/App.ts @@ -437,7 +437,7 @@ export default Vue.extend({ mode: this.modes[this.modeIdxGet].name }) ); - this.oldMessages.unshift(this.message); + if (this.oldMessages[0] && this.oldMessages[0] !== this.message) this.oldMessages.unshift(this.message); this.oldMessagesIndex = -1; this.hideInput(); } else {