aboutsummaryrefslogtreecommitdiff
path: root/courtroom.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'courtroom.cpp')
-rw-r--r--courtroom.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/courtroom.cpp b/courtroom.cpp
index 7c6b7fb1..5eb2c56e 100644
--- a/courtroom.cpp
+++ b/courtroom.cpp
@@ -1141,7 +1141,7 @@ void Courtroom::on_chat_return_pressed()
packet_contents.append(QString::number(offset_with_pair));
}
- if (ui_pre_non_interrupt->isChecked() and ui_pre->isChecked())
+ if (ui_pre_non_interrupt->isChecked())
{
if (ui_ic_chat_name->text().isEmpty())
{
@@ -1502,6 +1502,13 @@ void Courtroom::handle_chatmessage_3()
{
start_chat_ticking();
+ if (m_chatmessage[REALIZATION] == "1")
+ {
+ realization_timer->start(60);
+ ui_vp_realization->show();
+ sfx_player->play(ao_app->get_sfx("realization"));
+ }
+
int f_evi_id = m_chatmessage[EVIDENCE_ID].toInt();
QString f_side = m_chatmessage[SIDE];
@@ -1575,13 +1582,6 @@ void Courtroom::handle_chatmessage_3()
anim_state = 3;
}
- if (m_chatmessage[REALIZATION] == "1")
- {
- realization_timer->start(60);
- ui_vp_realization->show();
- sfx_player->play(ao_app->get_sfx("realization"));
- }
-
QString f_message = m_chatmessage[MESSAGE];
QStringList call_words = ao_app->get_call_words();