diff options
| author | Freya Murphy <freya@freyacat.org> | 2025-11-24 11:01:32 -0500 |
|---|---|---|
| committer | Freya Murphy <freya@freyacat.org> | 2025-11-24 11:01:32 -0500 |
| commit | 92bda220d9712628a7db4ea5e86bd170c89a8f43 (patch) | |
| tree | 907596edac04d0f64724d63903e2f498be268714 /game | |
| parent | audio: add scheduling, and optimize atomic operations (diff) | |
| download | DungeonCrawl-92bda220d9712628a7db4ea5e86bd170c89a8f43.tar.gz DungeonCrawl-92bda220d9712628a7db4ea5e86bd170c89a8f43.tar.bz2 DungeonCrawl-92bda220d9712628a7db4ea5e86bd170c89a8f43.zip | |
audio: move looping to program
Diffstat (limited to 'game')
| -rw-r--r-- | game/src/lib.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/game/src/lib.rs b/game/src/lib.rs index 3a1389f..16a596e 100644 --- a/game/src/lib.rs +++ b/game/src/lib.rs @@ -80,8 +80,8 @@ impl Game { pub fn run(&mut self) { // debug music - let track = self.window.audio().data.explore.clone(); - self.window.audio().schedule(track, 1); + let track = self.window.audio().data.test.clone(); + self.window.audio().schedule(track, 1, true); // Main game loop while self.window.is_open() { |