diff --git a/core/src/mindustry/core/UI.java b/core/src/mindustry/core/UI.java index da49916c59..c1c9c97b5f 100644 --- a/core/src/mindustry/core/UI.java +++ b/core/src/mindustry/core/UI.java @@ -419,6 +419,8 @@ public class UI implements ApplicationListener, Loadable{ } public void showException(String text, Throwable exc){ + if(loadfrag == null) return; + loadfrag.hide(); new Dialog(""){{ String message = Strings.getFinalMessage(exc);