Module:Pets: Difference between revisions

Fix slayerArea icons
(getCombatPetSources: Fix)
(Fix slayerArea icons)
Line 68: Line 68:
local petSource = p._getPetSource(pet)
local petSource = p._getPetSource(pet)
if petSource ~= nil then
if petSource ~= nil then
iconType = petSource.type
iconType = (petSource.type == 'slayerArea' and 'combatArea') or petSource.type
petSourceText = petSource.name
petSourceText = petSource.name
else
else