Anonymous

Module:Skills: Difference between revisions

From Melvor Idle
Fix currency function calls
m (Fix)
(Fix currency function calls)
Line 497: Line 497:
accCost = accCost + cost
accCost = accCost + cost
table.insert(returnPart, '|-')
table.insert(returnPart, '|-')
table.insert(returnPart, '|' .. i .. '||' .. Icons.GP(cost) .. '||' .. Icons.GP(accCost))
table.insert(returnPart, '|' .. i .. '||' .. Icons._Currency('melvorD:GP', cost) .. '||' .. Icons._Currency('melvorD:GP', accCost))
end
end
table.insert(returnPart, '|}')
table.insert(returnPart, '|}')