From b0eb2984ad67804b4d8acca8b196179695d177ad Mon Sep 17 00:00:00 2001 From: Hepatica Date: Tue, 12 Mar 2024 19:13:28 +0100 Subject: [PATCH] change time of sending message to chat to 1 second --- luckydiamond/src/components/ChatComponent.vue | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/luckydiamond/src/components/ChatComponent.vue b/luckydiamond/src/components/ChatComponent.vue index a73a836..7b52ccf 100644 --- a/luckydiamond/src/components/ChatComponent.vue +++ b/luckydiamond/src/components/ChatComponent.vue @@ -68,7 +68,7 @@ export default { }, ClaimDatamsg(msg) { const now = Date.now(); - if (!this.lastMsgTime || now - this.lastMsgTime >= 100) { + if (!this.lastMsgTime || now - this.lastMsgTime >= 1000) { SendMessageToChat(msg[0]); this.lastMsgTime = now; } else { @@ -135,5 +135,4 @@ export default {