From 506e5cfa93e735bbbc7a54f0a13e52d96985cfb6 Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Sun, 26 Feb 2023 21:14:26 +0100 Subject: src/world: collect empty chunks once per iteration --- editor/update.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'editor') 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 -- cgit v1.2.3