Module:Constants: Difference between revisions

getSkillName: Fix again following adjustment in GameData module
(getSkillName/getSkillID: Fix)
(getSkillName: Fix again following adjustment in GameData module)
Line 657: Line 657:
local skill = GameData.getSkillData(skillID)
local skill = GameData.getSkillData(skillID)
if skill ~= nil then
if skill ~= nil then
return skill.data.name
return skill.name
end
end
end
end