diff --git a/libs/libspell.lua b/libs/libspell.lua index 05998961..ec7378ce 100644 --- a/libs/libspell.lua +++ b/libs/libspell.lua @@ -95,7 +95,7 @@ function libspell.GetSpellInfo(index, bookType) end if name and id then - texture = GetSpellTexture(id, bookType) + icon = GetSpellTexture(id, bookType) end if id then