fix audio not playing on startup

This commit is contained in:
yuni 2024-05-01 23:01:41 +02:00
parent aed356c380
commit e750ca93ad

View file

@ -91,7 +91,7 @@ pub fn setup(
source: SoundBGM(asset_server.load(ASSET_BGM)).0.clone(),
settings: PlaybackSettings {
mode: PlaybackMode::Loop,
paused: settings.hud_active || settings.mute_music,
paused: settings.mute_music,
..default()
},
},