diff options
| author | in1tiate <32779090+in1tiate@users.noreply.github.com> | 2024-05-27 10:33:06 -0500 |
|---|---|---|
| committer | in1tiate <32779090+in1tiate@users.noreply.github.com> | 2024-05-27 10:33:06 -0500 |
| commit | 83715f4276ee4eb705b77a80e7484d7e7236fffe (patch) | |
| tree | 4f2fb07830d6e62d9393957dc08375a99e425882 /src/courtroom.cpp | |
| parent | 916317b94954bda26ab1cfd622e71a5a0a93dc17 (diff) | |
fix effects continuing to be displayed when they shouldn't
Diffstat (limited to 'src/courtroom.cpp')
| -rw-r--r-- | src/courtroom.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/courtroom.cpp b/src/courtroom.cpp index cf6a64b1..9c916ea3 100644 --- a/src/courtroom.cpp +++ b/src/courtroom.cpp @@ -1436,6 +1436,7 @@ void Courtroom::set_background(QString p_background, bool display) ui_vp_player_char->stopPlayback(); ui_vp_sideplayer_char->stopPlayback(); ui_vp_effect->stopPlayback(); + ui_vp_effect->hide(); ui_vp_message->hide(); ui_vp_chatbox->setVisible(chatbox_always_show); // Show it if chatbox always shows @@ -2746,6 +2747,7 @@ void Courtroom::display_character() ui_vp_speedlines->hide(); ui_vp_player_char->stopPlayback(); ui_vp_effect->stopPlayback(); + ui_vp_effect->hide(); // Clear all looping sfx to prevent obnoxiousness sfx_player->stopAllLoopingStream(); // Hide the message and chatbox and handle the emotes |
