Skip to content

Commit

Permalink
Merge confict
Browse files Browse the repository at this point in the history
  • Loading branch information
Zac8668 committed Jan 14, 2024
1 parent 1e5d367 commit db6281c
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions src/particles.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
}
});

Expand Down

0 comments on commit db6281c

Please sign in to comment.