Skip to content

Commit ba09058

Browse files
committed
Nit
1 parent 0792a9a commit ba09058

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

crates/bevy_scene/src/dynamic_scene_builder.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ impl<'w> DynamicSceneBuilder<'w> {
132132
.get_info(component_id)
133133
.and_then(|info| type_registry.get(info.type_id().unwrap()))
134134
.and_then(|registration| registration.data::<ReflectComponent>())
135-
.and_then(|reflect_component| reflect_component.reflect(entity));
135+
.and_then(|reflect_component| reflect_component.reflect(&entity));
136136

137137
if let Some(reflect_component) = reflect_component {
138138
entry.components.push(reflect_component.clone_value());

0 commit comments

Comments
 (0)