Skip to content

Commit

Permalink
Pause background Music on pause
Browse files Browse the repository at this point in the history
  • Loading branch information
dylanlangston committed Jan 5, 2024
1 parent 5328141 commit 374d1fa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ViewModels/PausedViewModel.zig
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ pub const PausedViewModel = Shared.View.ViewModel.Create(
pub inline fn PauseView(v: Shared.View.Views) void {
frameCount = 0;

Shared.Music.Stop(.BackgroundMusic);
Shared.Music.Pause(.BackgroundMusic);
for (std.enums.values(Shared.Sound.Sounds)) |sound| {
Shared.Sound.Pause(sound);
}
Expand Down

0 comments on commit 374d1fa

Please sign in to comment.