diff options
| author | Gustav Sörnäs <gustav@sornas.net> | 2021-01-03 19:14:13 +0100 |
|---|---|---|
| committer | Gustav Sörnäs <gustav@sornas.net> | 2021-01-03 19:17:14 +0100 |
| commit | fc208994a1e1228b79091303920fc90e066a087f (patch) | |
| tree | 561fd89dd9bdcac352ddcb437c8f000020898fdc /mumd/src/state.rs | |
| parent | 3e9b55d70301cdb322a1d2aa2fb599b55521621d (diff) | |
| download | mum-fc208994a1e1228b79091303920fc90e066a087f.tar.gz | |
remove unused return type
Diffstat (limited to 'mumd/src/state.rs')
| -rw-r--r-- | mumd/src/state.rs | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/mumd/src/state.rs b/mumd/src/state.rs index 47aef66..84247bc 100644 --- a/mumd/src/state.rs +++ b/mumd/src/state.rs @@ -574,9 +574,7 @@ impl State { self.audio.set_output_volume(output_volume); } if let Some(sound_effects) = &self.config.audio.sound_effects { - if let Err(e) = self.audio.load_sound_effects(sound_effects) { - warn!("Error loading sound effects: {:?}", e); - } + self.audio.load_sound_effects(sound_effects); } } |
