mirror of
https://github.com/brues-code/pfUI.git
synced 2026-10-04 04:30:01 +00:00
libcast: only update player delay on active casts
This commit is contained in:
+1
-1
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user