We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent df8a95d commit 22ac2dfCopy full SHA for 22ac2df
src/main.rs
@@ -41,7 +41,7 @@ fn reset_game(in_menu: &mut bool, player: &mut Player, invaders: &mut Invaders)
41
fn main() -> Result<(), Box<dyn Error>> {
42
let mut audio = Audio::new();
43
for item in &["explode", "lose", "move", "pew", "startup", "win"] {
44
- audio.add(item, &format!("audio/original/{}.wav", item));
+ audio.add(item, format!("audio/original/{}.wav", item));
45
}
46
audio.play("startup");
47
0 commit comments