diff --git a/AtlasLoot/Core/AtlasIntegration.lua b/AtlasLoot/Core/AtlasIntegration.lua index f7c0908..60926ed 100644 --- a/AtlasLoot/Core/AtlasIntegration.lua +++ b/AtlasLoot/Core/AtlasIntegration.lua @@ -38,6 +38,7 @@ function AtlasLootBoss_OnClick(name) local id = this.idnum; AtlasLoot_Lastboss = AtlasLootBossButtons[zoneID][id]; + AtlasLoot_Hold = false; --If the loot table was already shown and boss clicked again, hide the loot table and fix boss list icons if getglobal(name.."_Selected"):IsVisible() then getglobal(name.."_Selected"):Hide(); diff --git a/AtlasLoot/DefaultFrame/AtlaslootDefaultFrame.lua b/AtlasLoot/DefaultFrame/AtlaslootDefaultFrame.lua index 4b8b95d..e598654 100644 --- a/AtlasLoot/DefaultFrame/AtlaslootDefaultFrame.lua +++ b/AtlasLoot/DefaultFrame/AtlaslootDefaultFrame.lua @@ -45,7 +45,7 @@ function AtlasLoot_DewDropClick(tablename, text, tabletype) --Definition of where I want the loot table to be shown pFrame = { "TOPLEFT", "AtlasLootDefaultFrame_LootBackground", "TOPLEFT", "2", "-2" }; --If the button clicked was linked to a loot table - Hold = false; + AtlasLoot_Hold = false; if tabletype == "Table" then --Show the loot table AtlasLoot_ShowBossLoot(tablename, tablename, pFrame);