From 83715f4276ee4eb705b77a80e7484d7e7236fffe Mon Sep 17 00:00:00 2001 From: in1tiate <32779090+in1tiate@users.noreply.github.com> Date: Mon, 27 May 2024 10:33:06 -0500 Subject: [PATCH] fix effects continuing to be displayed when they shouldn't --- src/courtroom.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/courtroom.cpp b/src/courtroom.cpp index cf6a64b..9c916ea 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