From 1a2db1cf041af020f728ccc6feeb9ad6a5ad5487 Mon Sep 17 00:00:00 2001 From: Vel Date: Thu, 9 Feb 2023 00:04:32 +1100 Subject: [PATCH] Fixing Trigger Priority Issue --- FFXIV_Vibe_Plugin/App/Devices/DevicesController.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/FFXIV_Vibe_Plugin/App/Devices/DevicesController.cs b/FFXIV_Vibe_Plugin/App/Devices/DevicesController.cs index c161669..2e5bcc8 100644 --- a/FFXIV_Vibe_Plugin/App/Devices/DevicesController.cs +++ b/FFXIV_Vibe_Plugin/App/Devices/DevicesController.cs @@ -353,6 +353,9 @@ namespace FFXIV_Vibe_Plugin.Device { forceStop = true; this.SendCommand(command, device, 0, motorId); this.Logger.Debug($"Force stopping {deviceAndMotorId} because of StopAfter={StopAfter}"); + + // Make sure we clean the current playing trigger whgenever we're force stopping a trigger + this.CurrentPlayingTrigger = null; } }); tStopAfter.Start(); @@ -394,9 +397,6 @@ namespace FFXIV_Vibe_Plugin.Device { Thread.Sleep(duration); } - - // Make sure we clean the current playing trigger. - this.CurrentPlayingTrigger = null; }); t.Start(); }