ElEditors, Interface administrators, Administrators
70,975
edits
Tag: Undo |
No edit summary |
||
Line 38: | Line 38: | ||
function tableMerge(first_table, second_table) | function tableMerge(first_table, second_table) | ||
for k,v in spairs(second_table) do first_table[k] = v end | for k,v in spairs(second_table) do first_table[k] = v end | ||
end | |||
function indexTableMerge(first_table, second_table) | |||
for k,v in spairs(second_table) do table.insert(first_table, v) end | |||
end | end | ||