Fix Un-Renamed add_resource Compile Error (#1357)
This commit is contained in:
parent
6f5a4d9deb
commit
bff44f76ec
@ -240,7 +240,7 @@ impl AppBuilder {
|
||||
// so we would need to be extremely certain this is correct
|
||||
if !self.resources().contains::<R>() {
|
||||
let resource = R::from_resources(&self.resources());
|
||||
self.add_resource(resource);
|
||||
self.insert_resource(resource);
|
||||
}
|
||||
|
||||
self
|
||||
|
Loading…
Reference in New Issue
Block a user