Merge pull request #450 from AttorneyOnline/fix/447
Fix additive text duplication
This commit is contained in:
		
						commit
						ce77e50f75
					
				@ -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->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.
 | 
					    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());
 | 
						  QString f_message_filtered = filter_ic_text(f_message, true, -1, m_chatmessage[TEXT_COLOR].toInt());
 | 
				
			||||||
    for (int c = 0; c < max_colors; ++c) {
 | 
					    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));
 | 
					      additive_previous = additive_previous.replace("$c" + QString::number(c), char_color_rgb_list.at(c).name(QColor::HexRgb));
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
		Reference in New Issue
	
	Block a user