fix example

This commit is contained in:
Max Bradbury 2020-04-19 07:28:52 +01:00
parent 1e0c129dca
commit ffed88429b
1 changed files with 1 additions and 1 deletions

View File

@ -25,7 +25,7 @@ fn main() {
let output_file = env::args().nth(2)
.expect("No output path specified. Usage: `smiley infile outfile`");
let mut game = Game::from(fs::read_to_string(input_file).unwrap());
let mut game = Game::from(fs::read_to_string(input_file).unwrap()).unwrap();
game.avatar.animation_frames = vec![
Image {