mirror of
https://github.com/brues-code/pfUI.git
synced 2026-09-22 15:46:56 +00:00
castbar: change two global variables to local
This commit is contained in:
+2
-2
@@ -336,8 +336,8 @@ pfUI:RegisterModule("castbar", function ()
|
||||
pfUI.castbar.target.casterDB[mob] = nil
|
||||
return
|
||||
end
|
||||
casttime = pfLocaleSpells[pfUI.cache["locale"]][spell].t / 1000
|
||||
icon = pfLocaleSpells[pfUI.cache["locale"]][spell].icon
|
||||
local casttime = pfLocaleSpells[pfUI.cache["locale"]][spell].t / 1000
|
||||
local icon = pfLocaleSpells[pfUI.cache["locale"]][spell].icon
|
||||
pfUI.castbar.target.casterDB[mob] = {cast = spell, starttime = GetTime(), casttime = casttime, icon = icon}
|
||||
if UnitExists("target") and pfUI.castbar.target.casterDB[UnitName("target")] then
|
||||
if pfUI_config.castbar.target.hide_pfui == "1" then
|
||||
|
||||
Reference in New Issue
Block a user