cargo fmt
This commit is contained in:
parent
934305ad52
commit
0dd0474bb0
|
@ -47,11 +47,7 @@ impl Plugin for AudioPlugin {
|
|||
pub struct ZoomTimer(Timer);
|
||||
|
||||
const PATHS: &[(SfxType, Sfx, &str)] = &[
|
||||
(
|
||||
SfxType::Radio,
|
||||
Sfx::BGMTakeoff,
|
||||
"music/Takeoff.ogg",
|
||||
),
|
||||
(SfxType::Radio, Sfx::BGMTakeoff, "music/Takeoff.ogg"),
|
||||
(
|
||||
SfxType::Radio,
|
||||
Sfx::BGMActualJupiterRecording,
|
||||
|
|
|
@ -362,8 +362,7 @@ fn handle_cheats(
|
|||
settings.god_mode ^= true;
|
||||
if settings.god_mode {
|
||||
ew_sfx.send(audio::PlaySfxEvent(audio::Sfx::Honk));
|
||||
}
|
||||
else {
|
||||
} else {
|
||||
ew_sfx.send(audio::PlaySfxEvent(audio::Sfx::Switch));
|
||||
}
|
||||
}
|
||||
|
|
|
@ -172,10 +172,7 @@ impl Default for Settings {
|
|||
alive: true,
|
||||
mute_sfx: false,
|
||||
noise_cancellation_mode: 0,
|
||||
noise_cancellation_modes: vec![
|
||||
"Off".to_string(),
|
||||
"On".to_string(),
|
||||
],
|
||||
noise_cancellation_modes: vec!["Off".to_string(), "On".to_string()],
|
||||
radio_mode: 1,
|
||||
radio_modes: vec![
|
||||
// see also: settings.is_radio_playing()
|
||||
|
|
Loading…
Reference in a new issue