aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoroldmud0 <oldmud0@users.noreply.github.com>2021-02-05 00:52:02 -0600
committerGitHub <noreply@github.com>2021-02-05 00:52:02 -0600
commitce77e50f756d8c1ef2fba627aa245a98ba0421de (patch)
tree868f0aff8a4da4630e28603e7fb8f7b105553b65
parent91f015ea6499ea0b0645a0e31e7d8f0fc8b8c5c4 (diff)
parente5eeef1b0fcb5e482cc6671a5c4cc0571883f824 (diff)
Merge pull request #450 from AttorneyOnline/fix/447
Fix additive text duplication
-rw-r--r--src/courtroom.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/courtroom.cpp b/src/courtroom.cpp
index e8b58a49..9d47802a 100644
--- a/src/courtroom.cpp
+++ b/src/courtroom.cpp
@@ -3315,9 +3315,6 @@ void Courtroom::chat_tick()
}
ui_vp_chat_arrow->transform_mode = ao_app->get_misc_scaling(f_custom_theme);
ui_vp_chat_arrow->load_image("chat_arrow", f_custom_theme); // Chat stopped being processed, indicate that.
- additive_previous =
- additive_previous +
- filter_ic_text(f_message, true, -1, m_chatmessage[TEXT_COLOR].toInt());
QString f_message_filtered = filter_ic_text(f_message, true, -1, m_chatmessage[TEXT_COLOR].toInt());
for (int c = 0; c < max_colors; ++c) {
additive_previous = additive_previous.replace("$c" + QString::number(c), char_color_rgb_list.at(c).name(QColor::HexRgb));