summaryrefslogtreecommitdiff
path: root/game/src
diff options
context:
space:
mode:
Diffstat (limited to 'game/src')
-rw-r--r--game/src/lib.rs5
1 files changed, 4 insertions, 1 deletions
diff --git a/game/src/lib.rs b/game/src/lib.rs
index 3d9c8a7..4572d8e 100644
--- a/game/src/lib.rs
+++ b/game/src/lib.rs
@@ -104,7 +104,7 @@ impl Game {
}
UpdateResult::MessageUpdated(changed) => {
if changed {
- self.window.audio().speak.play();
+ //self.window.audio().speak.play();
}
}
UpdateResult::GameOver => {
@@ -115,6 +115,9 @@ impl Game {
// Draw a single frame
self.window.draw_frame(&self.dungeon);
+
+ // Update audio
+ self.window.audio().update();
}
}
}