From 8eb3c16c5084c5356f7a58f1ac70c8c9cb213a07 Mon Sep 17 00:00:00 2001 From: Gureumi <44261958+Kieaer@users.noreply.github.com> Date: Thu, 23 Feb 2023 03:02:04 +0900 Subject: [PATCH] Fix server always paused (#8330) --- server/src/mindustry/server/ServerControl.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/src/mindustry/server/ServerControl.java b/server/src/mindustry/server/ServerControl.java index d3473246c2..94c2cc9a02 100644 --- a/server/src/mindustry/server/ServerControl.java +++ b/server/src/mindustry/server/ServerControl.java @@ -193,7 +193,7 @@ public class ServerControl implements ApplicationListener{ play(true, () -> { world.loadMap(map, map.applyRules(lastMode)); - if(Config.autoPause.bool() && Groups.player.isEmpty()){ + if(Config.autoPause.bool() && autoPaused){ Core.app.post(() -> state.set(State.paused)); } });