small back button bug fix

This commit is contained in:
Anch
2022-02-01 00:16:44 +13:00
parent 3dd26cbc4c
commit e213a9ba41
2 changed files with 2 additions and 1 deletions
+1
View File
@@ -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();
@@ -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);