ecs: fix system name in "conflicting system" error message (#816)

This commit is contained in:
Carter Anderson 2020-11-08 13:48:00 -08:00 committed by GitHub
parent ebcdc9fb8c
commit 213ba9629a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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"));