Module:Abilities/utils: Difference between revisionsGive feedback
mNo edit summary |
mNo edit summary Tag: Manual revert |
||
| (5 intermediate revisions by the same user not shown) | |||
| Line 37: | Line 37: | ||
-- Check each ability for this hero | -- Check each ability for this hero | ||
for ability_num, ability in pairs(ui_data) do | for ability_num, ability in pairs(ui_data) do | ||
local current_name = ability.Key | local current_name = lang.get_string(ability.Key) | ||
if string.lower(current_name) == normalized_input then | if string.lower(current_name) == normalized_input then | ||
return hero_key | return hero_key | ||