mirror of
https://github.com/sys4-fr/server-nalc.git
synced 2025-01-11 18:40:25 +01:00
fix global var in forceload
This commit is contained in:
parent
b8a7b3d8e1
commit
59aef367cd
@ -6,6 +6,8 @@ function minetest.pos_to_string(pos)
|
|||||||
return _pts(pos)
|
return _pts(pos)
|
||||||
end
|
end
|
||||||
|
|
||||||
|
local elapsed_time = 0
|
||||||
|
|
||||||
-- Makes sure that force load areas are handled correctly
|
-- Makes sure that force load areas are handled correctly
|
||||||
function ForceloadManager(filetoopen, hide_file_errors)
|
function ForceloadManager(filetoopen, hide_file_errors)
|
||||||
local blocks = {}
|
local blocks = {}
|
||||||
@ -141,7 +143,7 @@ minetest.register_craft({
|
|||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
||||||
local elapsed_time = 0
|
|
||||||
local count = 0
|
local count = 0
|
||||||
minetest.register_globalstep(function(dtime)
|
minetest.register_globalstep(function(dtime)
|
||||||
count = count + dtime
|
count = count + dtime
|
||||||
|
Loading…
Reference in New Issue
Block a user