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:
parent
703303d18f
commit
d335c21f50
|
@ -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(())
|
||||
|
|
Loading…
Reference in a new issue