Fix bug #82 causing a client crash if /save_case was used without providing a courtroom state
This commit is contained in:
		
							parent
							
								
									a504ca7f9a
								
							
						
					
					
						commit
						b15c6f15f0
					
				@ -2884,7 +2884,7 @@ void Courtroom::on_ooc_return_pressed()
 | 
			
		||||
      caseslist.removeOne("..");
 | 
			
		||||
      caseslist.replaceInStrings(".ini","");
 | 
			
		||||
 | 
			
		||||
      if (command.size() < 2)
 | 
			
		||||
      if (command.size() < 3)
 | 
			
		||||
      {
 | 
			
		||||
        append_server_chatmessage("CLIENT", "You need to give a filename to save (extension not needed) and the courtroom status!", "1");
 | 
			
		||||
        ui_ooc_chat_message->clear();
 | 
			
		||||
 | 
			
		||||
		Loading…
	
		Reference in New Issue
	
	Block a user