mirror of
https://github.com/sys4-fr/server-nalc.git
synced 2024-12-24 01:30:38 +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)
|
||||
end
|
||||
|
||||
local elapsed_time = 0
|
||||
|
||||
-- Makes sure that force load areas are handled correctly
|
||||
function ForceloadManager(filetoopen, hide_file_errors)
|
||||
local blocks = {}
|
||||
@ -141,7 +143,7 @@ minetest.register_craft({
|
||||
}
|
||||
})
|
||||
|
||||
local elapsed_time = 0
|
||||
|
||||
local count = 0
|
||||
minetest.register_globalstep(function(dtime)
|
||||
count = count + dtime
|
||||
|
Loading…
Reference in New Issue
Block a user