[Updater > Module] Fix host skipping freezing client

This commit is contained in:
Ducko 2022-04-20 22:45:17 +01:00
parent 5117d8649a
commit 3935af3bdc
1 changed files with 2 additions and 1 deletions

View File

@ -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();
};