diff options
author | Juan J. Martinez <jjm@usebox.net> | 2023-08-05 09:26:16 +0100 |
---|---|---|
committer | Juan J. Martinez <jjm@usebox.net> | 2023-08-05 12:56:00 +0100 |
commit | c3eb0a2832f993b00a03f52b9a24cf728714daf1 (patch) | |
tree | 7361fda225d513dd90f5de4942a6b3b37e5b39a8 | |
parent | 2e80842ed08d6f11df2ab8118099a938d7e52f60 (diff) | |
download | gold-mine-run-c3eb0a2832f993b00a03f52b9a24cf728714daf1.tar.gz gold-mine-run-c3eb0a2832f993b00a03f52b9a24cf728714daf1.zip |
Pause stops music
-rw-r--r-- | src/game.c | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -336,9 +336,15 @@ next_stage: wait_vsync(); if (pause) + { timer_stop(); + sound_mute(); + } else + { timer_resume(); + sound_unmute(); + } } if (pause) |