Removed warnings

This commit is contained in:
Nicola Guerrera
2023-05-14 15:31:35 +02:00
parent 45c6399b63
commit e838a9f05f
3 changed files with 3 additions and 3 deletions

View File

@@ -187,7 +187,7 @@ impl ProtoStar {
}
impl RootHandler for ProtoStar {
fn frame(&mut self, info: FrameInfo) {
self.grabbable.update(&info);
self.grabbable.update(&info).unwrap();
if let Some(grabbable_move) = &mut self.grabbable_move {
if !grabbable_move.is_finished() {