Fix after-gpose bug.

This commit is contained in:
Ottermandias 2024-01-09 16:54:54 +01:00
parent bb671e8dd2
commit a2731b4010

View file

@ -56,7 +56,7 @@ public sealed class GPoseService : EventWrapper<bool, GPoseService.Priority>
InGPose = inGPose;
Invoke(InGPose);
var actions = InGPose ? _onEnter : _onLeave;
foreach (var action in actions)
while (actions.TryDequeue(out var action))
{
try
{