fix: removed the error message in get_entities_with in scene.rs

This commit is contained in:
lisk77 2025-05-01 12:09:30 +02:00
parent 5d959c54b5
commit 6d0e5aef1e

View file

@ -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()
} }