Print RGSS thread error message to console
This commit is contained in:
		
							parent
							
								
									813130fbf6
								
							
						
					
					
						commit
						5640c3d04b
					
				
					 1 changed files with 3 additions and 0 deletions
				
			
		| 
						 | 
				
			
			@ -284,8 +284,11 @@ int main(int argc, char *argv[])
 | 
			
		|||
		                         "The RGSS script seems to be stuck and mkxp will now force quit", win);
 | 
			
		||||
 | 
			
		||||
	if (!rtData.rgssErrorMsg.empty())
 | 
			
		||||
	{
 | 
			
		||||
		Debug() << rtData.rgssErrorMsg;
 | 
			
		||||
		SDL_ShowSimpleMessageBox(SDL_MESSAGEBOX_ERROR, conf.game.title.c_str(),
 | 
			
		||||
		                         rtData.rgssErrorMsg.c_str(), win);
 | 
			
		||||
	}
 | 
			
		||||
 | 
			
		||||
	/* Clean up any remainin events */
 | 
			
		||||
	eventThread.cleanup();
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue