summaryrefslogtreecommitdiffhomepage
path: root/editor
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2023-02-26 21:14:26 +0100
committerStanislaw Halik <sthalik@misaki.pl>2023-02-26 21:14:26 +0100
commit506e5cfa93e735bbbc7a54f0a13e52d96985cfb6 (patch)
treec294522e3ebabe48f253c1973830be1a4ad3533f /editor
parent988bf5d0368cb16846c02ea1482ea7b051ab97cb (diff)
src/world: collect empty chunks once per iteration
Diffstat (limited to 'editor')
-rw-r--r--editor/update.cpp2
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