parent
6c43afff08
commit
f7131509b9
@ -65,7 +65,7 @@ impl<T: Resource> Assets<T> {
|
||||
}
|
||||
|
||||
pub fn get_id_mut(&mut self, id: HandleId) -> Option<&mut T> {
|
||||
self.assets.get_mut(&Handle::from_id(id))
|
||||
self.get_mut(&Handle::from_id(id))
|
||||
}
|
||||
|
||||
pub fn get(&self, handle: &Handle<T>) -> Option<&T> {
|
||||
|
Loading…
Reference in New Issue
Block a user