This commit is contained in:
Alex Janka 2023-11-28 11:31:14 +11:00
parent e288346ebf
commit a6dbfbae89
2 changed files with 3 additions and 3 deletions

View file

@ -41,13 +41,13 @@ where
.sender
.send(RendererMessage::display_message(new_buffer))
{
Ok(_v) => {
Ok(_) => {
for val in self.buffer.iter_mut() {
*val = get_blank_colour(cgb);
}
Some(self)
}
Err(_e) => None,
Err(_) => None,
}
}
}

View file

@ -81,7 +81,7 @@ where
.send(RendererMessage::display_message(self.buffer.clone()))
{
Ok(_) => Some(self),
Err(_e) => None,
Err(_) => None,
}
}