Skip to content

Commit be22235

Browse files
World is already validated by update_archetypes call
1 parent 86f1521 commit be22235

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

crates/bevy_ecs/src/query/state.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -265,10 +265,9 @@ where
265265
entities: [Entity; N],
266266
) -> Result<[<Q::Fetch as Fetch<'w, 's>>::Item; N], QueryEntityError> {
267267
self.update_archetypes(world);
268-
self.validate_world(world);
269268

270269
// SAFE: method requires exclusive world access
271-
// and world has been validated
270+
// and world has been validated via update_archetypes
272271
unsafe {
273272
self.get_multiple_unchecked_manual(
274273
world,

0 commit comments

Comments
 (0)