From e213a9ba412c1a7aebe340043f5d3e9d5a48b8cb Mon Sep 17 00:00:00 2001 From: Anch Date: Tue, 1 Feb 2022 00:16:44 +1300 Subject: [PATCH] small back button bug fix --- AtlasLoot/Core/AtlasIntegration.lua | 1 + AtlasLoot/DefaultFrame/AtlaslootDefaultFrame.lua | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) 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);