Module:Tour stats: Difference between revisions

no edit summary
No edit summary
No edit summary
Line 408: Line 408:
local acoustic = 0
local acoustic = 0
local piano = 0
local piano = 0
local soundcheck = 0
for r = 1, #results do
for r = 1, #results do
local result = results[r]
local result = results[r]
Line 429: Line 430:
if result['piano'] == '1' then
if result['piano'] == '1' then
piano = piano + 1
piano = piano + 1
end
if result['soundcheck'] == '1' then
soundcheck = soundcheck + 1
end
end
end
end
Line 448: Line 452:
if abandoned > 0 then
if abandoned > 0 then
table.insert(totals_info, abandoned .. ' abandoned')
table.insert(totals_info, abandoned .. ' abandoned')
end
if soundcheck > 0 then
table.insert(totals_info, soundcheck .. ' soundcheck')
end
end