Skip to content
Snippets Groups Projects
Commit c3eeafa4 authored by rnd1's avatar rnd1
Browse files

..

parent 56b777a3
No related branches found
No related tags found
No related merge requests found
......@@ -254,16 +254,12 @@ local function runSandbox( name)
basic_robot.data[name].ccounter = 0;
setfenv( ScriptFunc, basic_robot.data[name].sandbox )
-- pcall(
-- function()
-- debug.sethook(error,"l") -- raises error when next line is called
local Result, RuntimeError = pcall( ScriptFunc )
if RuntimeError then
return RuntimeError
end
-- end)
minetest.chat_send_all("ccounter " .. basic_robot.data[name].ccounter)
--minetest.chat_send_all("ccounter " .. basic_robot.data[name].ccounter)
return nil
end
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment