Hi,
I solved it by using something like this:
Code:
local n = SCENE_MANAGER:GetCurrentScene().name
if n == 'hudui' or n == 'interact' or n == 'hud' then
SCENE_MANAGER:Show('hud')
else
SCENE_MANAGER:Show(n)
end
This closes the still open empty loot window.
I have worked on the "smarter autoloot" addon and extended it a loot, I would be happy to share it with you, maybe it already solves your autoloot needs
Best regards
Askedal