Cleanup
This commit is contained in:
@@ -2,7 +2,6 @@ package io.anuke.mindustry.maps;
|
||||
|
||||
import com.badlogic.gdx.graphics.Texture;
|
||||
import com.badlogic.gdx.utils.Array;
|
||||
import com.badlogic.gdx.utils.IntArray;
|
||||
import io.anuke.annotations.Annotations.Serialize;
|
||||
import io.anuke.mindustry.game.Saves.SaveSlot;
|
||||
import io.anuke.mindustry.game.SpawnGroup;
|
||||
@@ -25,8 +24,6 @@ public class Sector{
|
||||
public int saveID = -1;
|
||||
/**Num of missions in this sector that have been completed so far.*/
|
||||
public int completedMissions;
|
||||
/**List of links to other sector coords.*/
|
||||
public IntArray links = new IntArray();
|
||||
|
||||
/**Display texture. Needs to be disposed.*/
|
||||
public transient Texture texture;
|
||||
|
||||
@@ -35,7 +35,7 @@ public class Sectors{
|
||||
private final GridMap<Sector> grid = new GridMap<>();
|
||||
private final SectorPresets presets = new SectorPresets();
|
||||
private final Array<Item> allOres = Item.getAllOres();
|
||||
private AsyncExecutor executor = new AsyncExecutor(6);
|
||||
private final AsyncExecutor executor = new AsyncExecutor(6);
|
||||
|
||||
public void playSector(Sector sector){
|
||||
if(sector.hasSave() && SaveIO.breakingVersions.contains(sector.getSave().getBuild())){
|
||||
@@ -109,6 +109,7 @@ public class Sectors{
|
||||
|
||||
for(GridPoint2 g : Geometry.d4){
|
||||
createSector(x + g.x, y + g.y);
|
||||
Sector other = grid.get(x + g.x, y + g.y);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user