@@ -191,12 +191,7 @@ public class ServerControl implements ApplicationListener{
|
|||||||
|
|
||||||
info("Selected next map to be @.", Strings.stripColors(map.name()));
|
info("Selected next map to be @.", Strings.stripColors(map.name()));
|
||||||
|
|
||||||
play(true, () -> {
|
play(true, () -> world.loadMap(map, map.applyRules(lastMode)));
|
||||||
world.loadMap(map, map.applyRules(lastMode));
|
|
||||||
if(Config.autoPause.bool() && autoPaused){
|
|
||||||
Core.app.post(() -> state.set(State.paused));
|
|
||||||
}
|
|
||||||
});
|
|
||||||
}else{
|
}else{
|
||||||
netServer.kickAll(KickReason.gameover);
|
netServer.kickAll(KickReason.gameover);
|
||||||
state.set(State.menu);
|
state.set(State.menu);
|
||||||
|
|||||||
Reference in New Issue
Block a user