Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/entity/context_extension.rs
Original file line number Diff line number Diff line change
Expand Up @@ -447,7 +447,7 @@ impl ContextEntitiesExt for Context {
// Special case the empty query, which creates a set containing the entire population.
if query.type_id() == TypeId::of::<()>() {
warn!("Called Context::with_query_results() with an empty query. Prefer Context::get_entity_iterator::<E>() for working with the entire population.");
callback(EntitySet::from_source(SourceSet::Population(
callback(EntitySet::from_source(SourceSet::full_population(
self.get_entity_count::<E>(),
)));
return;
Expand Down
Loading
Loading