From 800d64c92376a3937b8b429aa372ca1bcf745b46 Mon Sep 17 00:00:00 2001 From: coolGi Date: Mon, 17 Jul 2023 02:08:34 +0930 Subject: [PATCH] Slight fix to the reliability of the auto updater --- .../common/wrappers/gui/updater/UpdateModScreen.java | 1 - 1 file changed, 1 deletion(-) diff --git a/common/src/main/java/com/seibel/distanthorizons/common/wrappers/gui/updater/UpdateModScreen.java b/common/src/main/java/com/seibel/distanthorizons/common/wrappers/gui/updater/UpdateModScreen.java index 68a7a9711..2807db2fe 100644 --- a/common/src/main/java/com/seibel/distanthorizons/common/wrappers/gui/updater/UpdateModScreen.java +++ b/common/src/main/java/com/seibel/distanthorizons/common/wrappers/gui/updater/UpdateModScreen.java @@ -92,7 +92,6 @@ public class UpdateModScreen extends DhScreen { this.addBtn( // Update MakeBtn(Translatable(ModInfo.ID + ".updater.update"), this.width / 2 - 75, this.height / 2 + 8, 150, 20, (btn) -> { - SelfUpdater.deleteOldOnClose = true; SelfUpdater.updateMod(); this.onClose(); })