diff --git a/storage/voxel_memory_pool.cpp b/storage/voxel_memory_pool.cpp index 7c3d0b8b..f1bb3bb2 100644 --- a/storage/voxel_memory_pool.cpp +++ b/storage/voxel_memory_pool.cpp @@ -100,7 +100,7 @@ void VoxelMemoryPool::clear() { _pools.clear(); _used_memory = 0; _total_memory = 0; - _used_blocks; + _used_blocks = 0; } void VoxelMemoryPool::debug_print() {