mirror of
https://github.com/Anuken/Mindustry.git
synced 2025-07-21 13:17:39 +07:00
Improved shuffle command for dedicated server
This commit is contained in:
@ -38,6 +38,14 @@ public class Maps implements Disposable{
|
||||
return defaultMaps;
|
||||
}
|
||||
|
||||
public Array<Map> getCustomMaps(){
|
||||
array.clear();
|
||||
for(Map map : list()){
|
||||
if(map.custom) array.add(map);
|
||||
}
|
||||
return array;
|
||||
}
|
||||
|
||||
public Array<Map> getAllMaps(){
|
||||
array.clear();
|
||||
for(Map map : list()){
|
||||
|
Reference in New Issue
Block a user