mirror of
https://github.com/minetest-mods/technic.git
synced 2024-11-13 05:50:41 +01:00
quarry tuning
This commit is contained in:
parent
e7ebdbd090
commit
0544543fd4
|
@ -184,7 +184,7 @@ local function quarry_run(pos, node)
|
||||||
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 us_used = minetest.get_us_time() - t0
|
local us_used = minetest.get_us_time() - t0
|
||||||
if us_used > 30000 then
|
if us_used > 10000 then
|
||||||
-- abort if this quarry takes too much time
|
-- abort if this quarry takes too much time
|
||||||
break
|
break
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue
Block a user