606
edits
m Tag: Undo |
m Tag: Undo |
||
| Line 126: | Line 126: | ||
--SECTION-PRODUCTION | --SECTION-PRODUCTION | ||
local productionData = {} | local productionData = {} | ||
if buildingData.workers then | if buildingData.workers then | ||
local workers = buildingData.workers | local workers = buildingData.workers | ||
| Line 143: | Line 132: | ||
workers = workers .. ' ' .. buildingData.rank | workers = workers .. ' ' .. buildingData.rank | ||
end | end | ||
table.insert(productionData, {label = 'Workers', value = workers}) | table.insert(productionData, {label = 'Workers', value = workers.firstUpper}) | ||
end | end | ||
if buildingData.input then | if buildingData.input then | ||
local input = '' | local input = '' | ||
edits