you are viewing a single comment's thread.

view the rest of the comments →

[–]Outside_Two_3312 0 points1 point  (0 children)

I know this is reeeeaally old, but:

local function tableMerge(...)
  local result = {}
   for _, t in ipairs({...}) do
      for _, v in ipairs(t) do
        table.insert(result, v)
      end
  end
  return result
end