remove wakeup sound at start
This commit is contained in:
parent
0b193e53ad
commit
e1bcb9bb7a
18
src/audio.rs
18
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_BGM: &str = "music/dead-space-style-ambient-music.ogg";
|
||||||
const ASSET_THRUSTER: &str = "sounds/thruster.ogg";
|
const ASSET_THRUSTER: &str = "sounds/thruster.ogg";
|
||||||
const ASSET_ROCKET: &str = "sounds/rocket.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";
|
const ASSET_BIKESTART: &str = "sounds/bikestart.ogg";
|
||||||
|
|
||||||
pub struct AudioPlugin;
|
pub struct AudioPlugin;
|
||||||
|
@ -64,14 +64,14 @@ pub fn setup(
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
));
|
));
|
||||||
if !settings.mute_sfx {
|
//if !settings.mute_sfx {
|
||||||
commands.spawn((
|
// commands.spawn((
|
||||||
AudioBundle {
|
// AudioBundle {
|
||||||
source: asset_server.load(ASSET_WAKEUP),
|
// source: asset_server.load(ASSET_WAKEUP),
|
||||||
settings: PlaybackSettings::DESPAWN,
|
// settings: PlaybackSettings::DESPAWN,
|
||||||
},
|
// },
|
||||||
));
|
// ));
|
||||||
}
|
//}
|
||||||
commands.spawn((
|
commands.spawn((
|
||||||
ComponentThrusterSound,
|
ComponentThrusterSound,
|
||||||
AudioBundle {
|
AudioBundle {
|
||||||
|
|
Loading…
Reference in a new issue