From 978a605ada755b0a02f8e8ea768c3af7e40b4cd7 Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Wed, 26 Oct 2022 21:05:46 +0200 Subject: allow forced collecting empty tiles --- src/world.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/world.hpp') diff --git a/src/world.hpp b/src/world.hpp index 1b05a824..cbdec4f5 100644 --- a/src/world.hpp +++ b/src/world.hpp @@ -36,7 +36,7 @@ public: std::tuple operator[](global_coords pt) noexcept; bool contains(chunk_coords c) const noexcept; void clear(); - void collect(); + void collect(bool force = false); [[deprecated]] const auto& chunks() const noexcept { return _chunks; } // only for serialization -- cgit v1.2.3