fix example
This commit is contained in:
parent
1e0c129dca
commit
ffed88429b
|
@ -25,7 +25,7 @@ fn main() {
|
||||||
let output_file = env::args().nth(2)
|
let output_file = env::args().nth(2)
|
||||||
.expect("No output path specified. Usage: `smiley infile outfile`");
|
.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![
|
game.avatar.animation_frames = vec![
|
||||||
Image {
|
Image {
|
||||||
|
|
Loading…
Reference in New Issue