ecs: fix system name in "conflicting system" error message (#816)
This commit is contained in:
parent
ebcdc9fb8c
commit
213ba9629a
@ -62,7 +62,7 @@ impl SystemState {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
panic!("System {} has conflicting queries. {} conflicts with the component access [{}] in this prior query: {}",
|
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],
|
self.query_type_names[conflict_index],
|
||||||
conflict_name.unwrap_or("Unknown"),
|
conflict_name.unwrap_or("Unknown"),
|
||||||
conflicts_with_index.map(|index| self.query_type_names[index]).unwrap_or("Unknown"));
|
conflicts_with_index.map(|index| self.query_type_names[index]).unwrap_or("Unknown"));
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user