diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2023-02-26 21:14:26 +0100 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2023-02-26 21:14:26 +0100 |
commit | 506e5cfa93e735bbbc7a54f0a13e52d96985cfb6 (patch) | |
tree | c294522e3ebabe48f253c1973830be1a4ad3533f /editor/update.cpp | |
parent | 988bf5d0368cb16846c02ea1482ea7b051ab97cb (diff) |
src/world: collect empty chunks once per iteration
Diffstat (limited to 'editor/update.cpp')
-rw-r--r-- | editor/update.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/editor/update.cpp b/editor/update.cpp index 3481ea3b..115e58b9 100644 --- a/editor/update.cpp +++ b/editor/update.cpp @@ -184,6 +184,8 @@ void app::update(float dt) else set_cursor_from_imgui(); } + + M->world().maybe_collect(); } } // namespace floormat |