[Updater > Module] Fix host skipping freezing client

mu
Oj 2 years ago
parent 5117d8649a
commit 3935af3bdc

@ -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…
Cancel
Save