From e750ca93adb7db1754b2c366056414deb4270427 Mon Sep 17 00:00:00 2001 From: hut Date: Wed, 1 May 2024 23:01:41 +0200 Subject: [PATCH] fix audio not playing on startup --- src/audio.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/audio.rs b/src/audio.rs index 942a6b0..689663f 100644 --- a/src/audio.rs +++ b/src/audio.rs @@ -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() }, },