From 7b78540c32152c3d59b85839472f7fe95a85562d Mon Sep 17 00:00:00 2001 From: Dusk-92 Date: Thu, 3 Sep 2026 18:42:58 +0200 Subject: [PATCH] Bind roll history only after native start completes --- mods/improved-roll-frames.lua | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/mods/improved-roll-frames.lua b/mods/improved-roll-frames.lua index 5544a16..a216525 100644 --- a/mods/improved-roll-frames.lua +++ b/mods/improved-roll-frames.lua @@ -431,10 +431,9 @@ module.enable = function(self) frame:Show() ShaguTweaks.roll.timer:Show() - -- If ClassicAPI already has the matching history row (for example after - -- another addon reopens the frame), bind immediately. Normal START_ROLL - -- ordering binds a moment later on LOOT_HISTORY_FULL_UPDATE. - BindVisibleFrames() + -- ClassicAPI records the new history row after the native START_ROLL + -- handler returns. Binding happens on the ensuing FULL_UPDATE; doing it + -- here could accidentally attach a repeated item to an older history row. end for i=1,ROLL_FRAME_COUNT do