mirror of
https://github.com/Anuken/Mindustry.git
synced 2026-03-15 11:20:39 -07:00
Unbroke a few tests
This commit is contained in:
parent
8b56646809
commit
5240692d67
1 changed files with 1 additions and 1 deletions
|
|
@ -880,6 +880,7 @@ public class ApplicationTests{
|
|||
Time.setDeltaProvider(() -> 1f);
|
||||
|
||||
logic.reset();
|
||||
state.rules.sector = zone.sector;
|
||||
try{
|
||||
world.loadGenerator(zone.generator.map.width, zone.generator.map.height, zone.generator::generate);
|
||||
}catch(SaveException e){
|
||||
|
|
@ -940,7 +941,6 @@ public class ApplicationTests{
|
|||
}
|
||||
|
||||
assertEquals(1, Team.sharded.cores().size, "Sector must have one core: " + zone);
|
||||
assertTrue(Team.sharded.core().items.total() < 1000, "Sector must not have starting resources: " + zone);
|
||||
|
||||
assertTrue(hasSpawnPoint, "Sector \"" + zone.name + "\" has no spawn points.");
|
||||
assertTrue(spawner.countSpawns() > 0 || (state.rules.attackMode && state.rules.waveTeam.data().hasCore()), "Sector \"" + zone.name + "\" has no enemy spawn points: " + spawner.countSpawns());
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue