From b82917092e6160b12c4c0fe845e023a2b8f26764 Mon Sep 17 00:00:00 2001 From: Kaz Wolfe Date: Fri, 22 Apr 2022 23:23:02 -0700 Subject: [PATCH] Fix bug with deferred messages Messages that were deferred were not cleared after they were sent. Thanks Serenity for the catch! --- FFXIVPlugin/Game/DeferredChat.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/FFXIVPlugin/Game/DeferredChat.cs b/FFXIVPlugin/Game/DeferredChat.cs index 269fe31..642a0d3 100644 --- a/FFXIVPlugin/Game/DeferredChat.cs +++ b/FFXIVPlugin/Game/DeferredChat.cs @@ -25,6 +25,8 @@ public static void SendDeferredMessages(long millis = 0) { foreach (var message in DeferredMessages) { Injections.Chat.Print(message); } + + DeferredMessages.Clear(); }, delay: millis); }