From 66dd5ba9998b59cb3654169b769653c8c8a92c80 Mon Sep 17 00:00:00 2001 From: Ludovicus Date: Sat, 4 Aug 2018 12:53:44 -0400 Subject: [PATCH] Fix Saroana #374 issue with profile reference at load time. --- TomTom_Corpse.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/TomTom_Corpse.lua b/TomTom_Corpse.lua index 1f33b91..b06accd 100755 --- a/TomTom_Corpse.lua +++ b/TomTom_Corpse.lua @@ -74,7 +74,7 @@ eventFrame:SetScript("OnUpdate", function(self, elapsed) return else counter = 0 - if TomTom.profile.general.corpse_arrow then + if TomTom and TomTom.profile and TomTom.profile.general and TomTom.profile.general.corpse_arrow then if GetCorpseLocation() then if SetCorpseArrow() then self:Hide() -- 1.7.9.5