From 391d4f2c03447fd56d043871e4ce0e1429a2ace3 Mon Sep 17 00:00:00 2001 From: Thomas Rudin Date: Sun, 4 Aug 2019 14:13:15 +0200 Subject: [PATCH] less teleport back checks --- teleport_back.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/teleport_back.lua b/teleport_back.lua index 9ede0ff..fe6a2e7 100644 --- a/teleport_back.lua +++ b/teleport_back.lua @@ -11,8 +11,8 @@ minetest.register_globalstep(function(dtime) return end - -- every 2 seconds - if timer < 2 then return end + -- every 10 seconds + if timer < 10 then return end timer = 0 for _,player in ipairs(minetest.get_connected_players()) do