diff options
| author | Gustav Sörnäs <gustav@sornas.net> | 2021-06-19 17:29:04 +0200 |
|---|---|---|
| committer | Gustav Sörnäs <gustav@sornas.net> | 2021-06-19 17:29:04 +0200 |
| commit | ee13c1662eba47ffe2716bdc26bbfcd0609ff521 (patch) | |
| tree | 443c4dc15ba7dd897f8de80a8fb094780c1628ae /mumd/src/audio.rs | |
| parent | a3be71e2f6b21ae4c8bac8b7ffd1d3f147357339 (diff) | |
| parent | 4a1d75e0f5f960c59dfba153212aca4830c28237 (diff) | |
| download | mum-ee13c1662eba47ffe2716bdc26bbfcd0609ff521.tar.gz | |
Merge remote-tracking branch 'origin/positional-positioning' into ogg
Diffstat (limited to 'mumd/src/audio.rs')
| -rw-r--r-- | mumd/src/audio.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mumd/src/audio.rs b/mumd/src/audio.rs index a04f0da..46fcca4 100644 --- a/mumd/src/audio.rs +++ b/mumd/src/audio.rs @@ -143,6 +143,6 @@ impl AudioOutput { pub fn play_effect(&self, effect: NotificationEvents) { let samples = self.sounds.get(&effect).unwrap(); - self.client_streams.lock().unwrap().extend(None, samples); + self.client_streams.lock().unwrap().add_sound_effect(samples); } } |
