group -> group_index

This commit is contained in:
hrsh7th
2021-10-22 19:52:48 +09:00
parent 530834e8c0
commit 533f17c569
3 changed files with 8 additions and 8 deletions

View File

@@ -2,7 +2,7 @@ return function(...)
local sources = {}
for i, group in ipairs({ ... }) do
for _, source in ipairs(group) do
source.group = i
source.group_index = i
table.insert(sources, source)
end
end