castbar: change two global variables to local

This commit is contained in:
shagu
2016-11-16 23:27:28 +01:00
parent 6eca971ea2
commit 1a0d2d6e4e
+2 -2
View File
@@ -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