This commit is contained in:
Thomas Rudin 2019-01-30 19:55:18 +01:00
parent 44f40664da
commit 027c151643

View File

@ -176,7 +176,7 @@ local function quarry_run(pos, node)
vector.multiply(qdir, -radius)) vector.multiply(qdir, -radius))
local owner = meta:get_string("owner") local owner = meta:get_string("owner")
local nd = meta:get_int("dug") local nd = meta:get_int("dug")
while nd ~= diameter*diameter * (quarry_dig_above_nodes+1+quarry_max_depth) do while nd < diameter*diameter * (quarry_dig_above_nodes+1+quarry_max_depth) do
local ry = math.floor(nd / (diameter*diameter)) local ry = math.floor(nd / (diameter*diameter))
local ndl = nd % (diameter*diameter) local ndl = nd % (diameter*diameter)
if ry % 2 == 1 then if ry % 2 == 1 then