From 3935af3bdc84ef3335a58fde3e349e0a6f7c74e6 Mon Sep 17 00:00:00 2001 From: Oj Date: Wed, 20 Apr 2022 22:45:17 +0100 Subject: [PATCH] [Updater > Module] Fix host skipping freezing client --- src/updater/moduleUpdater.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/updater/moduleUpdater.js b/src/updater/moduleUpdater.js index 4c7760f..2ea28e5 100644 --- a/src/updater/moduleUpdater.js +++ b/src/updater/moduleUpdater.js @@ -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(); };