mirror of
https://github.com/minetest-mods/global_exchange.git
synced 2025-09-06 05:25:20 +02:00
Fix bug causing update every tick
This commit is contained in:
@@ -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)
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user