Module:Sandbox/GauTest/Township: Difference between revisions

no edit summary
No edit summary
No edit summary
Line 553: Line 553:
for _, building in ipairs(buildingList) do
for _, building in ipairs(buildingList) do
local benefit = p._GetBuildingBenefits(building)
local benefit = p._GetBuildingBenefits(building)
hasBenefits = hasBenefits == true or benefits ~= nil
hasBenefits = hasBenefits == true or benefit ~= nil
benefits = benefits ~= nil and benefits or ''
benefits = benefits ~= nil and benefits or ''
table.insert(benefits, benefit)
table.insert(benefits, benefit)
572

edits