From 36bcce57b0ea4e973ebf4a6a83e64c1fe038b063 Mon Sep 17 00:00:00 2001 From: Jeija Date: Tue, 26 Mar 2013 15:12:56 +0100 Subject: Add table.* to luacontroller sandbox --- mesecons_luacontroller/init.lua | 6 ++++++ 1 file changed, 6 insertions(+) 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 -- cgit v1.2.3