mirror of
https://github.com/brues-code/pfUI.git
synced 2026-10-18 18:40:49 +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
|
pfUI.castbar.target.casterDB[mob] = nil
|
||||||
return
|
return
|
||||||
end
|
end
|
||||||
casttime = pfLocaleSpells[pfUI.cache["locale"]][spell].t / 1000
|
local casttime = pfLocaleSpells[pfUI.cache["locale"]][spell].t / 1000
|
||||||
icon = pfLocaleSpells[pfUI.cache["locale"]][spell].icon
|
local icon = pfLocaleSpells[pfUI.cache["locale"]][spell].icon
|
||||||
pfUI.castbar.target.casterDB[mob] = {cast = spell, starttime = GetTime(), casttime = casttime, icon = 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 UnitExists("target") and pfUI.castbar.target.casterDB[UnitName("target")] then
|
||||||
if pfUI_config.castbar.target.hide_pfui == "1" then
|
if pfUI_config.castbar.target.hide_pfui == "1" then
|
||||||
|
|||||||
Reference in New Issue
Block a user