Commit 8de627f6 authored by Eben Blaisdell's avatar Eben Blaisdell

dev change

parent 0760df4a
......@@ -461,7 +461,7 @@ function luaCallback(error, ret_value){
function initInterp(block) {
block.interp.doFile(path.join(__dirname,'initInterp.lua'), luaCallback);
block.interp.doString('math.randomseed('+Math.random()+')')
block.interp.doString('math.randomseed('+Math.random()+')', luaCallback)
block.interp.doString(block.code, luaCallback); //inits user code
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment