@@ -7,9 +7,9 @@ end return list end -fn.cshuf = function(list) +fn.scramble = function(list) return fn.shuffle(table.copy(list)) end fn.urnd = function(min,max) @@ -30,14 +30,8 @@ end return new end -fn.scramble = function(list) - local new = table.copy(list) - fn.shuffle(new) - return new -end - fn.copy = function(t) local new = {} for i,v in pairs(t) do new[i] = v end setmetatable(new,getmetatable(t))