Check if RMXP script pack path was read from Game.ini
This commit is contained in:
		
							parent
							
								
									ec90458925
								
							
						
					
					
						commit
						88041a2395
					
				
					 2 changed files with 15 additions and 3 deletions
				
			
		| 
						 | 
				
			
			@ -166,6 +166,12 @@ static void runRMXPScripts()
 | 
			
		|||
{
 | 
			
		||||
	const QByteArray &scriptPack = gState->rtData().config.game.scripts;
 | 
			
		||||
 | 
			
		||||
	if (scriptPack.isEmpty())
 | 
			
		||||
	{
 | 
			
		||||
		showMsg("No game scripts specified (missing Game.ini?)");
 | 
			
		||||
		return;
 | 
			
		||||
	}
 | 
			
		||||
 | 
			
		||||
	if (!gState->fileSystem().exists(scriptPack.constData()))
 | 
			
		||||
	{
 | 
			
		||||
		showMsg("Unable to open '" + scriptPack + "'");
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue