diff --git a/agb/src/display/object.rs b/agb/src/display/object.rs index 5f5276c1..878c8c2b 100644 --- a/agb/src/display/object.rs +++ b/agb/src/display/object.rs @@ -364,7 +364,7 @@ impl ObjectController { } pub fn get_object<'a, 'b>(&'a self, sprite: SpriteBorrow<'b>) -> Object<'b, 'a> { - self.try_get_object(sprite).expect("No object avaliable") + self.try_get_object(sprite).expect("No object available") } pub fn try_get_object<'a, 'b>(&'a self, sprite: SpriteBorrow<'b>) -> Option> {