mirror of
https://github.com/Anuken/Mindustry.git
synced 2025-12-15 15:20:57 -08:00
Fix server always paused (#8330)
This commit is contained in:
parent
39e88ae614
commit
8eb3c16c50
1 changed files with 1 additions and 1 deletions
|
|
@ -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));
|
||||
}
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue