From c9670abff744d891afc9afcabef04b1e0c7bb8ba Mon Sep 17 00:00:00 2001 From: buthed010203 Date: Tue, 10 Nov 2020 16:19:07 -0500 Subject: [PATCH] Fix bleeding edge updater The updater previously didn't update the original jar that was launched due to the use of the wrong function lol --- core/src/mindustry/net/BeControl.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/src/mindustry/net/BeControl.java b/core/src/mindustry/net/BeControl.java index a30308ed52..a15ada94bc 100644 --- a/core/src/mindustry/net/BeControl.java +++ b/core/src/mindustry/net/BeControl.java @@ -45,7 +45,7 @@ public class BeControl{ }, updateInterval, updateInterval); } - if(System.getProperties().contains("becopy")){ + if(System.getProperties().containsKey("becopy")){ try{ Fi dest = Fi.get(System.getProperty("becopy")); Fi self = Fi.get(BeControl.class.getProtectionDomain().getCodeSource().getLocation().toURI().getPath());