16,985
edits
(Changed - after slayer area to : and added text-negative class) |
(_getMonsterAreas: Fix combat area icon types) |
||
Line 362: | Line 362: | ||
for i, area in ipairs(areaList) do | for i, area in ipairs(areaList) do | ||
if area.type ~= 'dungeon' or not hideDungeons then | if area.type ~= 'dungeon' or not hideDungeons then | ||
local imgType = (area.type == ' | local imgType = (area.type == 'dungeon' and 'dungeon') or 'combatArea' | ||
local txt = Icons.Icon({(area.name or area.id), type = imgType}) | local txt = Icons.Icon({(area.name or area.id), type = imgType}) | ||
if area.type == 'slayerArea' then | if area.type == 'slayerArea' then |