Make resting the delay

This commit is contained in:
Coder12a 2018-11-09 07:23:13 -06:00
parent d54f914d7a
commit fa7e2cd107
1 changed files with 1 additions and 1 deletions

View File

@ -45,7 +45,7 @@ end
function minetest.async.schedule_worker() function minetest.async.schedule_worker()
minetest.async.state = "running" minetest.async.state = "running"
for index,value in ipairs(minetest.async.threads) do for index,value in ipairs(minetest.async.threads) do
minetest.after(0,minetest.async.run_worker,index) minetest.after(minetest.async.resting,minetest.async.run_worker,index)
return true return true
end end
minetest.async.state = "suspended" minetest.async.state = "suspended"