mirror of
https://github.com/minetest-mods/technic.git
synced 2025-02-23 07:10:19 +01:00
increase quarry cache
This commit is contained in:
parent
2900b58067
commit
4abf631de5
@ -50,7 +50,7 @@ local cache_timer = 0
|
|||||||
local can_dig_cache = {} -- hash -> bool
|
local can_dig_cache = {} -- hash -> bool
|
||||||
minetest.register_globalstep(function(dtime)
|
minetest.register_globalstep(function(dtime)
|
||||||
cache_timer = cache_timer + dtime
|
cache_timer = cache_timer + dtime
|
||||||
if cache_timer < 10 then return end
|
if cache_timer < 30 then return end
|
||||||
cache_timer=0
|
cache_timer=0
|
||||||
|
|
||||||
-- clear cache
|
-- clear cache
|
||||||
|
Loading…
x
Reference in New Issue
Block a user