mirror of
https://github.com/Anuken/Mindustry.git
synced 2025-07-04 15:27:19 +07:00
Made 'custom' the default shuffle mode for backwards compat
This commit is contained in:
@ -457,7 +457,7 @@ public class Maps{
|
||||
return maps.find(m -> m != prev || maps.size == 1);
|
||||
}),
|
||||
custom(prev -> {
|
||||
Array<Map> maps = Array.withArrays(Vars.maps.customMaps());
|
||||
Array<Map> maps = Array.withArrays(Vars.maps.customMaps().isEmpty() ? Vars.maps.defaultMaps() : Vars.maps.customMaps());
|
||||
maps.shuffle();
|
||||
return maps.find(m -> m != prev || maps.size == 1);
|
||||
}),
|
||||
|
@ -60,7 +60,7 @@ public class ServerControl implements ApplicationListener{
|
||||
"shufflemode", "normal",
|
||||
"bans", "",
|
||||
"admins", "",
|
||||
"shufflemode", "all",
|
||||
"shufflemode", "custom",
|
||||
"crashreport", false,
|
||||
"port", port,
|
||||
"logging", true,
|
||||
|
Reference in New Issue
Block a user