removed generatetoken fixed error on first load changed mag so shows the t4 instead of 5

This commit is contained in:
Anch
2022-08-06 13:16:22 +12:00
parent 2756114a11
commit 3326723188
3 changed files with 3 additions and 17 deletions
@@ -47,7 +47,7 @@ function AtlasLootDefaultFrame_OnShow()
AtlasLoot_SetItemInfoFrame(pFrame);
--Show the last displayed loot table
local lastboss = AtlasLoot.db.profile.LastBoss;
if lastboss then
if lastboss and lastboss[6] then
ATLASLOOT_CURRENTTABLE = lastboss[7];
ATLASLOOT_LASTMODULE = lastboss[6];
AtlasLoot_IsLootTableAvailable(lastboss[6]);