mirror of
https://github.com/doukutsu-rs/doukutsu-rs
synced 2025-06-17 15:31:55 +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);
|
log::info!("Playing BGM: {}", song_name);
|
||||||
|
|
||||||
self.current_song_id = song_id;
|
self.current_song_id = song_id;
|
||||||
|
self.tx.send(PlaybackMessage::SaveState)?;
|
||||||
self.tx.send(PlaybackMessage::PlaySong(Box::new(org)))?;
|
self.tx.send(PlaybackMessage::PlaySong(Box::new(org)))?;
|
||||||
}
|
}
|
||||||
Ok(())
|
Ok(())
|
||||||
|
|
Loading…
Reference in a new issue