libcast: only update player delay on active casts

This commit is contained in:
shagu
2018-08-10 17:02:38 +02:00
parent 8d3c7048de
commit 7292ae19a8
+1 -1
View File
@@ -162,7 +162,7 @@ libcast:SetScript("OnEvent", function()
this:TriggerEvents()
end
elseif event == "SPELLCAST_DELAYED" then
if this.db[player] then
if this.db[player].cast then
this.db[player].delay = this.db[player].delay + arg1/1000
this:TriggerEvents()
end