From 7292ae19a8114ad89c95f7aaec860b8150e7eecf Mon Sep 17 00:00:00 2001 From: shagu Date: Fri, 10 Aug 2018 17:02:38 +0200 Subject: [PATCH] libcast: only update player delay on active casts --- libs/libcast.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/libcast.lua b/libs/libcast.lua index a972ac31..4699fdbc 100644 --- a/libs/libcast.lua +++ b/libs/libcast.lua @@ -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