Anonymous

Module:Sandbox/Shop: Difference between revisions

From Melvor Idle
m
no edit summary
mNo edit summary
mNo edit summary
Line 562: Line 562:
end
end


function p._getItemShopTableData(tableData, item)
function p._getItemShopTableData(item, tableData)
if tableData == nil then tableData = {} end
 
local purchaseArray = p.getItemSourceArray(item.id)
local purchaseArray = p.getItemSourceArray(item.id)


Line 584: Line 586:
})
})
end
end
return tableData
end
end