Skip to content
Permalink
Browse files
Add table.* to luacontroller sandbox
  • Loading branch information
Jeija committed Mar 26, 2013
1 parent 21550b3 commit 36bcce57b0ea4e973ebf4a6a83e64c1fe038b063
Showing 1 changed file with 6 additions and 0 deletions.
@@ -241,6 +241,12 @@ local create_environment = function(pos, mem, event)
tan = math.tan,
tanh = math.tanh,
},
table = {
insert = table.insert,
maxn = table.maxn,
remove = table.remove,
sort = table.sort
},
event = event,
}
end

0 comments on commit 36bcce5

Please sign in to comment.