diff options
author | Jeija <norrepli@gmail.com> | 2013-03-26 15:12:56 +0100 |
---|---|---|
committer | Jeija <norrepli@gmail.com> | 2013-03-26 15:12:56 +0100 |
commit | 36bcce57b0ea4e973ebf4a6a83e64c1fe038b063 (patch) | |
tree | cd75d533d682a2489b1d8d3d63132dbef405a9b6 | |
parent | 21550b37277f3ca8c39734f52d318db885b9ff27 (diff) | |
download | mesecons-36bcce57b0ea4e973ebf4a6a83e64c1fe038b063.tar mesecons-36bcce57b0ea4e973ebf4a6a83e64c1fe038b063.tar.gz mesecons-36bcce57b0ea4e973ebf4a6a83e64c1fe038b063.tar.bz2 mesecons-36bcce57b0ea4e973ebf4a6a83e64c1fe038b063.tar.xz mesecons-36bcce57b0ea4e973ebf4a6a83e64c1fe038b063.zip |
Add table.* to luacontroller sandbox
-rw-r--r-- | mesecons_luacontroller/init.lua | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/mesecons_luacontroller/init.lua b/mesecons_luacontroller/init.lua index 37e95c4..6160a02 100644 --- a/mesecons_luacontroller/init.lua +++ b/mesecons_luacontroller/init.lua @@ -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 |