1
0
Fork 0
mirror of https://github.com/doukutsu-rs/doukutsu-rs synced 2025-03-24 02:49:21 +00:00

fix bgm state restoration

This commit is contained in:
Alula 2020-09-05 03:36:19 +02:00
parent 703303d18f
commit d335c21f50
No known key found for this signature in database
GPG key ID: 3E00485503A1D8BA

View file

@ -111,6 +111,7 @@ impl SoundManager {
log::info!("Playing BGM: {}", song_name);
self.current_song_id = song_id;
self.tx.send(PlaybackMessage::SaveState)?;
self.tx.send(PlaybackMessage::PlaySong(Box::new(org)))?;
}
Ok(())