572
edits
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 | 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) |
edits