diff options
| author | Freya Murphy <freya@freyacat.org> | 2025-11-21 22:25:37 -0500 |
|---|---|---|
| committer | Freya Murphy <freya@freyacat.org> | 2025-11-21 22:25:37 -0500 |
| commit | 654277d89471010f57794b8022385d2a99a15a14 (patch) | |
| tree | c10f98cfae20517c23007b941214a4c5f34bfd51 /graphics/src/lib.rs | |
| parent | dungeon: add chest usage/textures (diff) | |
| download | DungeonCrawl-654277d89471010f57794b8022385d2a99a15a14.tar.gz DungeonCrawl-654277d89471010f57794b8022385d2a99a15a14.tar.bz2 DungeonCrawl-654277d89471010f57794b8022385d2a99a15a14.zip | |
audio: create orchestration system
Diffstat (limited to 'graphics/src/lib.rs')
| -rw-r--r-- | graphics/src/lib.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/graphics/src/lib.rs b/graphics/src/lib.rs index fef5f9e..63233f5 100644 --- a/graphics/src/lib.rs +++ b/graphics/src/lib.rs @@ -270,7 +270,7 @@ impl Window { } /// Get audio data for the window - pub const fn audio(&self) -> &Audio { - &self.audio + pub const fn audio(&mut self) -> &mut Audio { + &mut self.audio } } |