Improved shuffle command for dedicated server

This commit is contained in:
Anuken
2018-02-10 15:14:41 -05:00
parent e5365d5572
commit 0b09ca0817
3 changed files with 29 additions and 30 deletions
+2 -2
View File
@@ -1,7 +1,7 @@
#Autogenerated file. Do not modify.
#Sat Feb 10 12:37:44 EST 2018
#Sat Feb 10 12:55:55 EST 2018
version=beta
androidBuildCode=153
androidBuildCode=155
name=Mindustry
code=3.3
build=custom build
+8
View File
@@ -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()){