Skip to content

Commit

Permalink
fix clone registration
Browse files Browse the repository at this point in the history
  • Loading branch information
rewin123 committed Sep 28, 2024
1 parent 1192cae commit 34a545a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/prefab/src/editor_registry/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -303,7 +303,7 @@ impl EditorRegistryExt for App {
if let Some(mut registry) = self.world_mut().get_resource_mut::<EditorRegistry>() {
registry.only_clone_register::<T>()
}
self.register_type::<T>();
self.editor_registry::<T>();
self
}

Expand Down

0 comments on commit 34a545a

Please sign in to comment.