From 90bd02a3e9cf55d292dba4f59230f210bffa224f Mon Sep 17 00:00:00 2001 From: Skye Deving <76892045+skyedeving@users.noreply.github.com> Date: Mon, 11 Jan 2021 02:27:10 -0600 Subject: [PATCH] Set music and objection to volume slider in update_character --- src/courtroom.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/courtroom.cpp b/src/courtroom.cpp index 0f807c3..3bbf82a 100644 --- a/src/courtroom.cpp +++ b/src/courtroom.cpp @@ -1380,7 +1380,9 @@ void Courtroom::update_character(int p_cid) ui_char_select_background->hide(); ui_ic_chat_message->setEnabled(m_cid != -1); ui_ic_chat_message->setFocus(); - // have to call these to make sure sfx and blips don't get accidentally muted forever when we change characters + // have to call these to make sure music, sfx, and blips don't get accidentally muted forever when we change characters + music_player->set_volume(ui_music_slider->value(), 0); + objection_player->set_volume(ui_sfx_slider->value()); sfx_player->set_volume(ui_sfx_slider->value()); blip_player->set_volume(ui_blip_slider->value()); }