From 250e37c742f3ad46f093f4534098cdf8f68a29a9 Mon Sep 17 00:00:00 2001 From: Mel Date: Fri, 2 Feb 2024 03:03:36 +0100 Subject: Breaking blocks --- src/World/ChunkRegistry.hpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/World/ChunkRegistry.hpp') diff --git a/src/World/ChunkRegistry.hpp b/src/World/ChunkRegistry.hpp index ea887e4..2b87a3a 100644 --- a/src/World/ChunkRegistry.hpp +++ b/src/World/ChunkRegistry.hpp @@ -34,7 +34,9 @@ public: } void damage() { - if (status == Status::Done) chunk.value().damage(); + // if (status == Status::Done) chunk.value().damage(); + // TODO: Properly damage the chunk, notifying the nearby chunks, too. + status = Status::NeedsReification; } }; -- cgit 1.4.1