From e1bcb9bb7a0cb7ee1cfaa8100b5d427da27de189 Mon Sep 17 00:00:00 2001 From: hut Date: Thu, 28 Mar 2024 20:54:28 +0100 Subject: [PATCH] remove wakeup sound at start --- src/audio.rs | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/src/audio.rs b/src/audio.rs index f63d966..a0e0d5d 100644 --- a/src/audio.rs +++ b/src/audio.rs @@ -10,7 +10,7 @@ const ASSET_CONNECT: &str = "sounds/connect.ogg"; const ASSET_BGM: &str = "music/dead-space-style-ambient-music.ogg"; const ASSET_THRUSTER: &str = "sounds/thruster.ogg"; const ASSET_ROCKET: &str = "sounds/rocket.ogg"; -const ASSET_WAKEUP: &str = "sounds/wakeup.ogg"; +//const ASSET_WAKEUP: &str = "sounds/wakeup.ogg"; const ASSET_BIKESTART: &str = "sounds/bikestart.ogg"; pub struct AudioPlugin; @@ -64,14 +64,14 @@ pub fn setup( }, }, )); - if !settings.mute_sfx { - commands.spawn(( - AudioBundle { - source: asset_server.load(ASSET_WAKEUP), - settings: PlaybackSettings::DESPAWN, - }, - )); - } + //if !settings.mute_sfx { + // commands.spawn(( + // AudioBundle { + // source: asset_server.load(ASSET_WAKEUP), + // settings: PlaybackSettings::DESPAWN, + // }, + // )); + //} commands.spawn(( ComponentThrusterSound, AudioBundle {