Clear stale prediction cast targets

This commit is contained in:
Dusk-92
2026-09-03 11:32:09 +02:00
parent 5b01196751
commit 8711ca5aec
+2
View File
@@ -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)