fixed an issue where rainbowtext would not work when rejoining a server
This commit is contained in:
		
							parent
							
								
									842b1a58e9
								
							
						
					
					
						commit
						b627d66956
					
				@ -1534,8 +1534,6 @@ void Courtroom::mod_called(QString p_ip)
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
void Courtroom::on_ooc_return_pressed()
 | 
					void Courtroom::on_ooc_return_pressed()
 | 
				
			||||||
{
 | 
					{
 | 
				
			||||||
  static bool rainbow_appended = false;
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
  QString ooc_message = ui_ooc_chat_message->text();
 | 
					  QString ooc_message = ui_ooc_chat_message->text();
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  if (ooc_message == "" || ui_ooc_chat_name->text() == "")
 | 
					  if (ooc_message == "" || ui_ooc_chat_name->text() == "")
 | 
				
			||||||
 | 
				
			|||||||
@ -128,6 +128,7 @@ private:
 | 
				
			|||||||
  int blip_pos = 0;
 | 
					  int blip_pos = 0;
 | 
				
			||||||
  int blip_rate = 1;
 | 
					  int blip_rate = 1;
 | 
				
			||||||
  int rainbow_counter = 0;
 | 
					  int rainbow_counter = 0;
 | 
				
			||||||
 | 
					  bool rainbow_appended = false;
 | 
				
			||||||
  bool blank_blip = false;
 | 
					  bool blank_blip = false;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  //delay before chat messages starts ticking
 | 
					  //delay before chat messages starts ticking
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
		Reference in New Issue
	
	Block a user