Module:BATTD costs: Difference between revisions
mNo edit summary |
mNo edit summary |
||
| Line 33: | Line 33: | ||
for id, upgrade in pairs(upgradesById) do | for id, upgrade in pairs(upgradesById) do | ||
row[#row+1] = sFormat("||%s", purchasedUpgrades[id] and Y or N) | row[#row+1] = sFormat("||%s", purchasedUpgrades[upgrade.id] and Y or N) | ||
end | end | ||