1
0
Fork 0

fix surface pools y offset

This commit is contained in:
cora 2022-06-22 13:14:53 +02:00
parent 4b18c7fe8e
commit 69dac8ded4
1 changed files with 1 additions and 1 deletions

View File

@ -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