Skip to content

Commit

Permalink
Fix bug with deferred messages
Browse files Browse the repository at this point in the history
Messages that were deferred were not cleared after they were sent.

Thanks Serenity for the catch!
  • Loading branch information
KazWolfe committed Apr 23, 2022
1 parent f14ff09 commit b829170
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions FFXIVPlugin/Game/DeferredChat.cs
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@ public static void SendDeferredMessages(long millis = 0) {
foreach (var message in DeferredMessages) {
Injections.Chat.Print(message);
}

DeferredMessages.Clear();
}, delay: millis);
}

Expand Down

0 comments on commit b829170

Please sign in to comment.