From e2f72042ca28a51067f6463029ce5d9ed8c76bb1 Mon Sep 17 00:00:00 2001 From: Anch Date: Sat, 24 Sep 2022 04:01:54 +1200 Subject: [PATCH] fixed last result error when no search data --- AtlasLoot/Core/AtlasLoot.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/AtlasLoot/Core/AtlasLoot.lua b/AtlasLoot/Core/AtlasLoot.lua index 6206583..461589b 100644 --- a/AtlasLoot/Core/AtlasLoot.lua +++ b/AtlasLoot/Core/AtlasLoot.lua @@ -132,7 +132,7 @@ function AtlasLoot:OnEnable() AtlasLoot.db:RegisterDefaults(AtlasLootDBDefaults); if not AtlasLootCharDB then AtlasLootCharDB = {} end if not AtlasLootCharDB["QuickLooks"] then AtlasLootCharDB["QuickLooks"] = {} end - if not AtlasLootCharDB["SearchResult"] then AtlasLootCharDB["SearchResult"] = {} end + if not AtlasLootCharDB["SearchResult"] then AtlasLootCharDB["SearchResult"] = {Name = "Search Result" , Type = "Search", Back = true}; end if AtlasLoot_Data then AtlasLoot_Data["EmptyTable"] = { Name = AL["Select a Loot Table..."];