ForeverDev

Untitled

Oct 9th, 2014
251
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.21 KB | None | 0 0
  1. function mergeTable(tableOne, tableTwo)
  2.     local new = {}
  3.     for _, v in ipairs(tableOne) do table.insert(new, v) end
  4.     for _, v in ipairs(tableTwo) do table.insert(new, v) end
  5.     table.sort(new)
  6.     return new
  7. end
Advertisement
Add Comment
Please, Sign In to add comment