Forgot to remove accidential teleport lag
This commit is contained in:
parent
86d184c1bd
commit
1237381c60
2
init.lua
2
init.lua
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue