Module:PageRef: Difference between revisions

Jump to navigation Jump to search
Sur (talk | contribs)
m fix the check for alt_file_name being not nil to also check if its not blank
Sur (talk | contribs)
m fix file_name not being defined correctly
Line 34: Line 34:
file_name = resource_name_localized .. "_MM"
file_name = resource_name_localized .. "_MM"
--elseif is_item(resource_name_localized) then
--elseif is_item(resource_name_localized) then
--file_name = file_name .. ""
--file_name = resource_name_localized .. ""
--elseif is_ability(resource_name_localized) then
--elseif is_ability(resource_name_localized) then
--file_name = file_name .. ""
--file_name = resource_name_localized .. ""
else
file_name = resource_name_localized
end
end
end
end