Slight fix to the reliability of the auto updater

This commit is contained in:
coolGi
2023-07-17 02:08:34 +09:30
parent fd2a1ca036
commit 800d64c923
@@ -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();
})