Module:CombatAreas/AreaTables: Difference between revisions

added space to hopefully fix an issue for rows with no requirements
(added sorting by slayer area level to Requirements)
(added space to hopefully fix an issue for rows with no requirements)
Line 104: Line 104:
       table.insert(reqArray, Icons.Icon({dung.name, type='dungeon'})..' Completed')
       table.insert(reqArray, Icons.Icon({dung.name, type='dungeon'})..' Completed')
     end
     end
     result = result..'||data-sort-value="'..(area.slayerLevel ~= nil and area.SlayerLevel or 1)..'"|'..table.concat(reqArray, '<br/>')
     result = result..'||data-sort-value="'..(area.slayerLevel ~= nil and area.SlayerLevel or 1)..'"| '..table.concat(reqArray, '<br/>')
     result = result..'||'
     result = result..'||'
     if area.areaEffectDescription ~= nil then
     if area.areaEffectDescription ~= nil then