mirror of
https://git.minetest.land/VoxeLibre/VoxeLibre.git
synced 2024-11-19 17:41:06 +01:00
fix surface pools y offset
This commit is contained in:
parent
4b18c7fe8e
commit
69dac8ded4
1 changed files with 1 additions and 1 deletions
|
@ -38,7 +38,7 @@ local function makelake(pos,size,liquid,placein,border,pr)
|
|||
return vector.distance(vector.new(pos.x,0,pos.z), a) < vector.distance(vector.new(pos.x,0,pos.z), b)
|
||||
end)
|
||||
if not nn[1] then return end
|
||||
local y = pos.y + 1
|
||||
local y = pos.y - 1
|
||||
local lq = {}
|
||||
for i=1,pr:next(1,#nn) do
|
||||
if nn[i].y == y then
|
||||
|
|
Loading…
Reference in a new issue