Skip to content

Commit 29af938

Browse files
committed
Remove adding campaign maps to custom maps
Apparently the game does this now??? Since when???
1 parent ee30246 commit 29af938

File tree

1 file changed

+0
-18
lines changed

1 file changed

+0
-18
lines changed

src/testing/TestUtils.java

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
import arc.graphics.g2d.*;
66
import arc.input.*;
77
import arc.math.*;
8-
import arc.struct.*;
98
import arc.util.*;
109
import mindustry.game.EventType.*;
1110
import mindustry.graphics.*;
@@ -28,23 +27,6 @@ public TestUtils(){
2827
if(settings.getBool("tu-mobile-test", false)) mobile = testMobile = true;
2928

3029
if(mobile) loadLogger();
31-
32-
//Add campaign maps to custom maps list
33-
Seq<String> mapNames = new Seq<>();
34-
mapNames.addAll( //Sectors aren't loaded yet, need to hardcode
35-
"groundZero",
36-
"craters", "biomassFacility", "taintedWoods", "frozenForest", "ruinousShores", "facility32m", "windsweptIslands", "stainedMountains", "tarFields",
37-
"frontier", "fungalPass", "infestedCanyons", "atolls", "mycelialBastion", "extractionOutpost", "saltFlats", "testingGrounds", "overgrowth",
38-
"impact0078", "desolateRift", "nuclearComplex", "planetaryTerminal",
39-
"coastline", "navalFortress", "weatheredChannels", "seaPort",
40-
41-
"geothermalStronghold", "cruxscape",
42-
43-
"onset", "aegis", "lake", "intersect", "basin", "atlas", "split", "marsh", "peaks", "ravine",
44-
"stronghold", "crevice", "siege", "crossroads", "karst", "origin"
45-
);
46-
mapNames.addAll((String[])Reflect.get(maps.getClass(), "defaultMapNames"));
47-
Reflect.set(maps.getClass(), "defaultMapNames", mapNames.toArray(String.class));
4830
}
4931

5032
@Override

0 commit comments

Comments
 (0)