diff --git a/crates/bevy_app/src/app_builder.rs b/crates/bevy_app/src/app_builder.rs index 7233e94e79..6f6e9dd789 100644 --- a/crates/bevy_app/src/app_builder.rs +++ b/crates/bevy_app/src/app_builder.rs @@ -240,7 +240,7 @@ impl AppBuilder { // so we would need to be extremely certain this is correct if !self.resources().contains::() { let resource = R::from_resources(&self.resources()); - self.add_resource(resource); + self.insert_resource(resource); } self