From ad1a3d694e4617b5b8cca3ac6d442c0fa80a37fe Mon Sep 17 00:00:00 2001 From: MEEPofFaith <54301439+MEEPofFaith@users.noreply.github.com> Date: Tue, 16 Apr 2024 18:00:47 -0700 Subject: [PATCH] There is now an escape Forgot to add the ok button --- core/src/mindustry/mod/Mods.java | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/core/src/mindustry/mod/Mods.java b/core/src/mindustry/mod/Mods.java index e354f89e14..49f4af97e2 100644 --- a/core/src/mindustry/mod/Mods.java +++ b/core/src/mindustry/mod/Mods.java @@ -725,16 +725,21 @@ public class Mods implements Loadable{ }).growX().padBottom(8f).padLeft(12f); } }).fillX(); + cont.row(); if(success.any()){ cont.image().width(300f).pad(2).height(4f).color(Color.lightGray); cont.row(); cont.add("@mods.reloadexit").center(); + cont.row(); + hidden(() -> { Log.info("Exiting to reload mods after dependency auto-import."); Core.app.exit(); }); } + + cont.button("@ok", this::hide).size(300, 50); }}.show(); }