summaryrefslogtreecommitdiff
path: root/src/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.cpp')
-rw-r--r--src/main.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/main.cpp b/src/main.cpp
index ea0092d..20110e5 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -68,8 +68,10 @@ int main()
window.clear();
render.begin_frame(now, dt);
render.render(&game);
+ game.compute_ambience(&render);
interface.render_to(&render);
audio::clean_sounds();
+ audio::update_ambience(!game.paused);
render.end_frame();
}