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); - } } });