forked from minetest-mods/global_exchange
Fix bug causing update every tick
This commit is contained in:
parent
b33e8e3817
commit
41875ae574
@ -43,6 +43,7 @@ minetest.register_globalstep(function(dtime)
|
|||||||
elapsed = elapsed + dtime
|
elapsed = elapsed + dtime
|
||||||
if elapsed >= summary_interval then
|
if elapsed >= summary_interval then
|
||||||
summary_fs = mk_summary_fs()
|
summary_fs = mk_summary_fs()
|
||||||
|
elapsed = 0
|
||||||
end
|
end
|
||||||
end)
|
end)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user