mirror of
https://github.com/Anuken/Mindustry.git
synced 2025-02-06 08:57:45 +07:00
parent
b569646310
commit
11f8e06708
@ -191,12 +191,7 @@ public class ServerControl implements ApplicationListener{
|
||||
|
||||
info("Selected next map to be @.", Strings.stripColors(map.name()));
|
||||
|
||||
play(true, () -> {
|
||||
world.loadMap(map, map.applyRules(lastMode));
|
||||
if(Config.autoPause.bool() && autoPaused){
|
||||
Core.app.post(() -> state.set(State.paused));
|
||||
}
|
||||
});
|
||||
play(true, () -> world.loadMap(map, map.applyRules(lastMode)));
|
||||
}else{
|
||||
netServer.kickAll(KickReason.gameover);
|
||||
state.set(State.menu);
|
||||
|
Loading…
Reference in New Issue
Block a user