[Updater > Module] Fix host skipping freezing client
This commit is contained in:
		
							parent
							
								
									5117d8649a
								
							
						
					
					
						commit
						3935af3bdc
					
				
					 1 changed files with 2 additions and 1 deletions
				
			
		|  | @ -330,7 +330,8 @@ exports.checkForUpdates = () => { | |||
| 
 | ||||
|   events.emit('checking-for-updates'); | ||||
| 
 | ||||
|   if (skipHost || last > Date.now() - 10000) hostPassed(true); | ||||
|   if (skipHost) hostPassed(); | ||||
|     else if (last > Date.now() - 10000) hostPassed(true); | ||||
|     else hostUpdater.checkForUpdates(); | ||||
| }; | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue