Bugfix in game update check
							parent
							
								
									414c34e917
								
							
						
					
					
						commit
						1038b16118
					
				| 
						 | 
				
			
			@ -90,7 +90,8 @@ module.exports.checkIfGameHasUpdate = async function (info) {
 | 
			
		|||
    if (!exists) return true;
 | 
			
		||||
 | 
			
		||||
    // Parse version from title
 | 
			
		||||
    const onlineVersion = await scraper.getGameInfo(info.url).version;
 | 
			
		||||
    const onlineInfo = await scraper.getGameInfo(info.url);
 | 
			
		||||
    const onlineVersion = onlineInfo.version;
 | 
			
		||||
    
 | 
			
		||||
    // Compare the versions
 | 
			
		||||
    return onlineVersion.toUpperCase() !== info.version.toUpperCase();
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue