diff --git a/crates/bevy_asset/src/assets.rs b/crates/bevy_asset/src/assets.rs index d43aec3695925..68393f6fc195b 100644 --- a/crates/bevy_asset/src/assets.rs +++ b/crates/bevy_asset/src/assets.rs @@ -61,10 +61,10 @@ impl Assets { } pub fn get_with_id(&self, id: HandleId) -> Option<&T> { - self.assets.get(&Handle::from_id(id)) + self.get(&Handle::from_id(id)) } - pub fn get_id_mut(&mut self, id: HandleId) -> Option<&mut T> { + pub fn get_with_id_mut(&mut self, id: HandleId) -> Option<&mut T> { self.get_mut(&Handle::from_id(id)) }