Skip to content

Commit

Permalink
avoid duplication panic
Browse files Browse the repository at this point in the history
  • Loading branch information
tomara-x committed Jul 17, 2024
1 parent 9c280a7 commit 17fa913
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/circles.rs
Original file line number Diff line number Diff line change
Expand Up @@ -505,7 +505,8 @@ pub fn update_num(

pub fn spawn_info_text(
show_info_text: Res<ShowInfoText>,
query: Query<Entity, (With<Vertices>, Without<InfoText>)>,
// fully loaded (not an orphaned hole) that's why With<RenderLayers>
query: Query<Entity, (With<Vertices>, Without<InfoText>, With<RenderLayers>)>,
text_size: Res<TextSize>,
mut commands: Commands,
) {
Expand Down

0 comments on commit 17fa913

Please sign in to comment.