From c3eb0a2832f993b00a03f52b9a24cf728714daf1 Mon Sep 17 00:00:00 2001 From: "Juan J. Martinez" Date: Sat, 5 Aug 2023 09:26:16 +0100 Subject: Pause stops music --- src/game.c | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src') diff --git a/src/game.c b/src/game.c index 8f97a3b..35fc49c 100644 --- a/src/game.c +++ b/src/game.c @@ -336,9 +336,15 @@ next_stage: wait_vsync(); if (pause) + { timer_stop(); + sound_mute(); + } else + { timer_resume(); + sound_unmute(); + } } if (pause) -- cgit v1.2.3