Skip to content

Commit e145c3d

Browse files
removed flushed assert
flushing is no longer needed for allocation, freeing, etc, so there is no such thing as `needs_flush`, and `worth_flushing` can be true even just by allocating directly.
1 parent 28ae3e2 commit e145c3d

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

crates/bevy_ecs/src/entity/map_entities.rs

-3
Original file line numberDiff line numberDiff line change
@@ -308,8 +308,5 @@ mod tests {
308308
SceneEntityMapper::world_scope(&mut Default::default(), &mut world, |_, m| {
309309
m.get_mapped(Entity::PLACEHOLDER);
310310
});
311-
312-
// The SceneEntityMapper should leave `Entities` in a flushed state.
313-
assert!(!world.entities.worth_flushing());
314311
}
315312
}

0 commit comments

Comments
 (0)