Navigation Menu

Skip to content

Commit

Permalink
Add table.* to luacontroller sandbox
Browse files Browse the repository at this point in the history
  • Loading branch information
Jeija committed Mar 26, 2013
1 parent 21550b3 commit 36bcce5
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions mesecons_luacontroller/init.lua
Expand Up @@ -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
Expand Down

0 comments on commit 36bcce5

Please sign in to comment.