Forgot to remove accidential teleport lag

This commit is contained in:
Kimapr 2019-12-17 18:59:23 +05:00
parent 86d184c1bd
commit 1237381c60
1 changed files with 0 additions and 2 deletions

View File

@ -51,7 +51,6 @@ function ctf.spawn(name,pos,call)
call = call or function()end call = call or function()end
local limit = SPAWNFALL_LIMIT local limit = SPAWNFALL_LIMIT
minetest.chat_send_player(name,"<TELEPORT> Configuring transportation processor...") minetest.chat_send_player(name,"<TELEPORT> Configuring transportation processor...")
minetest.after(30,function()
minetest.emerge_area({x=pos.x,y=pos.y-limit,z=pos.z},{x=pos.x,y=pos.y+limit,z=pos.z},function(bp,act,crem) minetest.emerge_area({x=pos.x,y=pos.y-limit,z=pos.z},{x=pos.x,y=pos.y+limit,z=pos.z},function(bp,act,crem)
if crem > 0 then return end if crem > 0 then return end
pl = ctf.players[name] pl = ctf.players[name]
@ -82,7 +81,6 @@ function ctf.spawn(name,pos,call)
call(ref,apos) call(ref,apos)
end end
end) end)
end)
end end
end end