diff --git a/Libs/DF/fw.lua b/Libs/DF/fw.lua index c7631f10..874ec625 100644 --- a/Libs/DF/fw.lua +++ b/Libs/DF/fw.lua @@ -1,6 +1,6 @@ -local dversion = 536 +local dversion = 537 local major, minor = "DetailsFramework-1.0", dversion local DF, oldminor = LibStub:NewLibrary(major, minor) diff --git a/functions/deathrecap.lua b/functions/deathrecap.lua index fd811082..a1fae707 100644 --- a/functions/deathrecap.lua +++ b/functions/deathrecap.lua @@ -634,7 +634,8 @@ hooksecurefunc (_G, "DeathRecap_LoadUI", function() local format = Details:GetCurrentToKFunction() if (Details.death_recap.enabled) then - if (Details:GetZoneType() == "party" or Details:GetZoneType() == "raid" and texture) then + if (type(spellName) == string and (Details:GetZoneType() == "party" or Details:GetZoneType() == "raid")) then + texture = texture or [[Interface\ICONS\INV_Misc_QuestionMark]] local msgText = "|cFFAAAAFFDeath Recap (Blizzard):" print(msgText, "|T" .. texture .. ":16:16:0:0:64:64:5:59:5:59|t", GetSpellLink(spellId) or spellName, format(_, amountDamage or 0)) end