diff options
| author | Kapten Z∅∅m <55669224+default-username-852@users.noreply.github.com> | 2021-06-19 17:48:49 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-06-19 17:48:49 +0200 |
| commit | ad0ee3950aa5a54a3617d6f028ab90d4c79553f0 (patch) | |
| tree | 7ea12bc5315391f9f043362ee45e6a5f16e8390f /mumd/src/audio.rs | |
| parent | d7a1738dc2c9f71788540baed6fb86276b44e840 (diff) | |
| parent | 37f1089cb5f2468c0659f7d83c7530b35eedeaec (diff) | |
| download | mum-ad0ee3950aa5a54a3617d6f028ab90d4c79553f0.tar.gz | |
Merge pull request #110 from mum-rs/positional-positioning
Audio output rework
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 2e20583..beff9cd 100644 --- a/mumd/src/audio.rs +++ b/mumd/src/audio.rs @@ -235,7 +235,7 @@ 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); } } |
