Anonymous

Module:Sandbox/Shop: Difference between revisions

From Melvor Idle
m
no edit summary
No edit summary
mNo edit summary
Line 565: Line 565:
local purchaseArray = p.getItemSourceArray(item.id)
local purchaseArray = p.getItemSourceArray(item.id)


for i, purchase in ipairs(purchaseArray) do
for i, purchaseData in ipairs(purchaseArray) do
local purchase = purchaseData.purchase
local namespace, localID = Shared.getLocalID(purchase.id)
local namespace, localID = Shared.getLocalID(purchase.id)
local source = nil
local source = nil