More GetSpellInfo fixes
This commit is contained in:
@@ -221,7 +221,7 @@ function Details.Survey.OpenSpellCategoryScreen()
|
||||
local spellId = spellTable[1]
|
||||
--get a line
|
||||
local line = self:GetLine(i)
|
||||
local spellName, _, spellIcon = GetSpellInfo(spellId)
|
||||
local spellName, _, spellIcon = Details.GetSpellInfo(spellId)
|
||||
line.Icon:SetTexture(spellIcon)
|
||||
line.Icon:SetTexCoord(.1, .9, .1, .9)
|
||||
line.SpellNameText.text = spellName
|
||||
@@ -361,4 +361,4 @@ function Details.Survey.OpenSpellCategoryScreen()
|
||||
|
||||
DetailsSpellCategoryFrame.SpellScroll:RefreshScroll()
|
||||
DetailsSpellCategoryFrame:Show()
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user