mirror of
https://github.com/lisk77/comet.git
synced 2025-10-23 21:38:50 +00:00
fix: removed the error message in get_entities_with
in scene.rs
This commit is contained in:
parent
5d959c54b5
commit
6d0e5aef1e
1 changed files with 0 additions and 1 deletions
|
@ -206,7 +206,6 @@ impl Scene {
|
||||||
if self.archetypes.contains_archetype(&components) {
|
if self.archetypes.contains_archetype(&components) {
|
||||||
return self.archetypes.get_archetype(&components).unwrap().clone().iter().map(|x| *x as usize).collect();
|
return self.archetypes.get_archetype(&components).unwrap().clone().iter().map(|x| *x as usize).collect();
|
||||||
}
|
}
|
||||||
error!("The given components {:?} are not registered in the scene!", components);
|
|
||||||
Vec::new()
|
Vec::new()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue