actually use the set interval

This commit is contained in:
cora 2022-06-25 03:29:27 +02:00
parent 57aeecc76e
commit 49e3497738
1 changed files with 1 additions and 1 deletions

View File

@ -20,7 +20,7 @@ end
local function tp_step(n)
minetest.registered_chatcommands["findbiome"].func(n,next_biome())
minetest.chat_send_player(n,"Teleporting to "..minetest.registered_biomes[biomekeys[current]].name.." ("..current.."/"..#biomekeys..")")
if active then minetest.after(5,tp_step,n) end
if active then minetest.after(wait,tp_step,n) end
end
minetest.register_chatcommand("biometp",{