From 6a8f49b3e7777958f9c9e94c75afe0b653aabbca Mon Sep 17 00:00:00 2001 From: "James D. Callahan III" Date: Mon, 7 Mar 2011 22:12:39 -0600 Subject: [PATCH] Variable re-naming. --- core.lua | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/core.lua b/core.lua index 749ec4d..3ea59b2 100644 --- a/core.lua +++ b/core.lua @@ -1043,13 +1043,13 @@ do local specialty = SpecialtyTable[current_prof] for index = 1, 25, 1 do - local spellName = _G.GetSpellBookItemName(index, _G.BOOKTYPE_SPELL) + local spell_name = _G.GetSpellBookItemName(index, _G.BOOKTYPE_SPELL) - if not spellName or index == 25 then + if not spell_name or index == 25 then player["Specialty"] = nil break - elseif specialty and specialty[spellName] then - player["Specialty"] = specialty[spellName] + elseif specialty and specialty[spell_name] then + player["Specialty"] = specialty[spell_name] break end end -- 1.7.9.5