From db6281cf4be8c941725184ef2983d7129e9b353d Mon Sep 17 00:00:00 2001 From: Isaac Turci <78173025+Zac8668@users.noreply.github.com> Date: Sun, 14 Jan 2024 15:28:37 -0300 Subject: [PATCH] Merge confict --- src/particles.rs | 9 --------- 1 file changed, 9 deletions(-) diff --git a/src/particles.rs b/src/particles.rs index d779edd..2bdbc20 100644 --- a/src/particles.rs +++ b/src/particles.rs @@ -102,15 +102,6 @@ pub fn update_particles( commands.entity(update.ent).despawn(); continue; } - - if change_atom { - let atom = &mut chunk_manager_deffered.write().unwrap()[update.chunk_pos]; - *atom = update.atom; - commands.entity(update.ent).despawn(); - - update_dirty_rects(&mut dirty_rects.render, update.chunk_pos); - update_dirty_rects_3x3(&mut dirty_rects.current, update.chunk_pos); - } } });