fix: players could enter going backwards
parent
aa2d037312
commit
b017198d3b
1
init.lua
1
init.lua
|
@ -106,7 +106,6 @@ function ptol.remove_warning(player)
|
||||||
end
|
end
|
||||||
|
|
||||||
local timer = 0
|
local timer = 0
|
||||||
local down_timer = 0
|
|
||||||
|
|
||||||
minetest.register_globalstep(function(dtime)
|
minetest.register_globalstep(function(dtime)
|
||||||
timer = timer + dtime
|
timer = timer + dtime
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
#Where all the concentric spheres start
|
#Where all the concentric spheres start
|
||||||
world_center=(0,0,0)
|
world_center=(0,0,0)
|
||||||
#The radius between spheres
|
#The radius between spheres
|
||||||
radius=100
|
radius=256
|
||||||
#Timing to check if a player is in his allowed area
|
#Timing to check if a player is in his allowed area
|
||||||
time=1
|
time=1
|
||||||
#The angle for a player return to his area,
|
#The angle for a player return to his area,
|
||||||
|
|
Loading…
Reference in New Issue