diff --git a/libs/libpredict.lua b/libs/libpredict.lua index a669f9c..d6020c1 100644 --- a/libs/libpredict.lua +++ b/libs/libpredict.lua @@ -512,6 +512,7 @@ libpredict.sender:SetScript("OnEvent", function() libpredict.sender:SendResCommMsg("RESNO " .. target) libpredict.sender.resurrecting = nil end + senttarget = nil elseif event == "SPELLCAST_DELAYED" then if libpredict.sender.healing then libpredict:HealDelay(player, arg1) @@ -520,6 +521,7 @@ libpredict.sender:SetScript("OnEvent", function() elseif strfind(event, "SPELLCAST_STOP", 1) then if strfind(event, "UNIT_", 1) and arg1 ~= "player" then return end libpredict:HealStop(player) + senttarget = nil end end)