Skip to content

Commit

Permalink
ecs: fix system name in "conflicting system" error message (#816)
Browse files Browse the repository at this point in the history
  • Loading branch information
cart authored Nov 8, 2020
1 parent ebcdc9f commit 213ba96
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/bevy_ecs/src/system/into_system.rs
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ impl SystemState {
}
}
panic!("System {} has conflicting queries. {} conflicts with the component access [{}] in this prior query: {}",
core::any::type_name::<Self>(),
self.name,
self.query_type_names[conflict_index],
conflict_name.unwrap_or("Unknown"),
conflicts_with_index.map(|index| self.query_type_names[index]).unwrap_or("Unknown"));
Expand Down

0 comments on commit 213ba96

Please sign in to comment.