From d54f914d7a98d5eaa014a6efd6331ae51acf0e56 Mon Sep 17 00:00:00 2001 From: Coder12a <38924418+Coder12a@users.noreply.github.com> Date: Fri, 9 Nov 2018 00:58:29 -0600 Subject: [PATCH] Stop the schedule from running all the time --- async.lua | 2 -- 1 file changed, 2 deletions(-) diff --git a/async.lua b/async.lua index 11b9a6a..347f6c8 100644 --- a/async.lua +++ b/async.lua @@ -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