fix audio not playing on startup
This commit is contained in:
parent
aed356c380
commit
e750ca93ad
|
@ -91,7 +91,7 @@ pub fn setup(
|
||||||
source: SoundBGM(asset_server.load(ASSET_BGM)).0.clone(),
|
source: SoundBGM(asset_server.load(ASSET_BGM)).0.clone(),
|
||||||
settings: PlaybackSettings {
|
settings: PlaybackSettings {
|
||||||
mode: PlaybackMode::Loop,
|
mode: PlaybackMode::Loop,
|
||||||
paused: settings.hud_active || settings.mute_music,
|
paused: settings.mute_music,
|
||||||
..default()
|
..default()
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in a new issue