From a2731b4010c033de5e1a6bfc837e3ad6230f2b6f Mon Sep 17 00:00:00 2001 From: Ottermandias Date: Tue, 9 Jan 2024 16:54:54 +0100 Subject: [PATCH] Fix after-gpose bug. --- Glamourer/Events/GPoseService.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Glamourer/Events/GPoseService.cs b/Glamourer/Events/GPoseService.cs index 7b162ae..a84f1d6 100644 --- a/Glamourer/Events/GPoseService.cs +++ b/Glamourer/Events/GPoseService.cs @@ -56,7 +56,7 @@ public sealed class GPoseService : EventWrapper InGPose = inGPose; Invoke(InGPose); var actions = InGPose ? _onEnter : _onLeave; - foreach (var action in actions) + while (actions.TryDequeue(out var action)) { try {