Stop the schedule from running all the time

This commit is contained in:
Coder12a 2018-11-09 00:58:29 -06:00
parent 7dc54ed555
commit d54f914d7a

View File

@ -49,7 +49,6 @@ function minetest.async.schedule_worker()
return true
end
minetest.async.state = "suspended"
minetest.after(minetest.async.resting,minetest.async.schedule_worker)
return false
end
@ -58,7 +57,6 @@ function minetest.async.schedule_globalstep_worker()
minetest.after(0,minetest.async.run_globalstep_worker,index)
return true
end
minetest.after(0.05,minetest.async.schedule_globalstep_worker)
return false
end