Add Gui Inputs (Unable to test)

This commit is contained in:
Cooldude2606
2017-07-02 11:17:22 +01:00
parent 9241ef28ae
commit 45798b7b88
9 changed files with 248 additions and 2 deletions

View File

@@ -45,7 +45,7 @@ Event.register(defines.events.on_tick, function(event)
command=table.remove(global.sudo)
if command and command.fun and type(command.fun) == 'function' then
local args = command.var or {}
command.fun(args[1],args[2],args[3],args[4],args[5],args[6])
command.fun(unpack(args))
end
end
end)