diff options
| author | Gustav Sörnäs <gustav@sornas.net> | 2021-01-05 12:19:54 +0100 |
|---|---|---|
| committer | Gustav Sörnäs <gustav@sornas.net> | 2021-01-05 12:20:21 +0100 |
| commit | ba4aa72654f2d57d59f6e25151315213bec21192 (patch) | |
| tree | 6ff7fe03e3ebbc4b351fae778fd1c02f2d6148de /mumd/src/state.rs | |
| parent | 531dc28e2c09a13336b057044bf8721d4b2c4c00 (diff) | |
| parent | 2cef2e31a139e453474298b3278c98f18eba7203 (diff) | |
| download | mum-ba4aa72654f2d57d59f6e25151315213bec21192.tar.gz | |
Merge remote-tracking branch 'origin/choose-sfx' into main
Diffstat (limited to 'mumd/src/state.rs')
| -rw-r--r-- | mumd/src/state.rs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/mumd/src/state.rs b/mumd/src/state.rs index d1f64a9..84247bc 100644 --- a/mumd/src/state.rs +++ b/mumd/src/state.rs @@ -573,6 +573,9 @@ impl State { if let Some(output_volume) = self.config.audio.output_volume { self.audio.set_output_volume(output_volume); } + if let Some(sound_effects) = &self.config.audio.sound_effects { + self.audio.load_sound_effects(sound_effects); + } } pub fn initialized(&self) { |
