aboutsummaryrefslogtreecommitdiff
path: root/courtroom.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'courtroom.cpp')
-rw-r--r--courtroom.cpp11
1 files changed, 7 insertions, 4 deletions
diff --git a/courtroom.cpp b/courtroom.cpp
index 48e456f..109ffa6 100644
--- a/courtroom.cpp
+++ b/courtroom.cpp
@@ -1095,10 +1095,13 @@ void Courtroom::on_chat_return_pressed()
//needed or else legacy won't understand what we're saying
if (objection_state > 0)
{
- if (f_emote_mod == 5)
- f_emote_mod = 6;
- else
- f_emote_mod = 2;
+ if (ui_pre->isChecked())
+ {
+ if (f_emote_mod == 5)
+ f_emote_mod = 6;
+ else
+ f_emote_mod = 2;
+ }
}
else if (ui_pre->isChecked() and !ui_pre_non_interrupt->isChecked())
{