From 3b2b7be72afc80ef30beb9ed13222fd68500055c Mon Sep 17 00:00:00 2001 From: Patrick 'Quezler' Mounier Date: Wed, 4 Mar 2020 17:58:16 +0100 Subject: [PATCH] Remove nested app.post (#1667) --- core/src/mindustry/core/Control.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/src/mindustry/core/Control.java b/core/src/mindustry/core/Control.java index 2a064ada79..657c9c74e2 100644 --- a/core/src/mindustry/core/Control.java +++ b/core/src/mindustry/core/Control.java @@ -121,7 +121,7 @@ public class Control implements ApplicationListener, Loadable{ player.isAdmin = true; }catch(IOException e){ ui.showException("$server.error", e); - Core.app.post(() -> state.set(State.menu)); + state.set(State.menu); } } }));