From b159ca35df0fbfbce276c9fbaf011101bc79457b Mon Sep 17 00:00:00 2001 From: in1tiate <32779090+in1tiate@users.noreply.github.com> Date: Mon, 28 Dec 2020 00:49:50 -0600 Subject: [PATCH] Fix sounds and blips being muted forever on changing character (#345) Re-fix of #277. --- src/courtroom.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/courtroom.cpp b/src/courtroom.cpp index baa6631..9b3b206 100644 --- a/src/courtroom.cpp +++ b/src/courtroom.cpp @@ -1333,6 +1333,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 + sfx_player->set_volume(ui_sfx_slider->value()); + blip_player->set_volume(ui_blip_slider->value()); } void Courtroom::enter_courtroom()