From e6f1eae791e939bb15db67d7ab9d6bdac63749ba Mon Sep 17 00:00:00 2001 From: Isaac Turci <78173025+Zac8668@users.noreply.github.com> Date: Sat, 27 Jan 2024 20:16:48 -0300 Subject: [PATCH] Fix test --- src/chunk_manager.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/chunk_manager.rs b/src/chunk_manager.rs index d4644a3..aac8d56 100644 --- a/src/chunk_manager.rs +++ b/src/chunk_manager.rs @@ -111,7 +111,7 @@ impl ChunkManager { } } -impl Drop for ChunkManager { +/*impl Drop for ChunkManager { fn drop(&mut self) { let file = File::open("assets/world/world").unwrap(); let mut buffered = BufReader::new(file); @@ -130,7 +130,7 @@ impl Drop for ChunkManager { let mut buffered = BufWriter::new(file); bincode::serialize_into(&mut buffered, &file_chunks).unwrap(); } -} +}*/ impl std::ops::Index for ChunkManager { type Output = Atom;