push the void down

This commit is contained in:
Kimapr 2019-12-22 21:40:33 +05:00
parent c95759525c
commit 5db8fa04cf
1 changed files with 3 additions and 3 deletions

View File

@ -278,9 +278,9 @@ minetest.register_globalstep(function(dt)
cells[is.k].valid = false
end
local p = ref:get_pos()
if p.y < -64 then
ref:set_hp(ref:get_hp()-2,{reason="set_hp"})
if p.y < -128 then
if p.y < -128 then
ref:set_hp(ref:get_hp()-4,{reason="set_hp"})
if p.y < -256 then
local land = players[ref:get_player_name()]
local pos
if land then