Build fix

This commit is contained in:
Anuken
2018-09-20 12:32:12 -04:00
parent a3be5e332e
commit f61f3df732
3 changed files with 3 additions and 3 deletions

View File

@@ -130,7 +130,7 @@ public class SectorsDialog extends FloatingDialog{
float drawY = y + height/2f + sectorY * padSectorSize - offsetY * padSectorSize - panY % padSectorSize;
Sector sector = world.sectors().get(sectorX, sectorY);
int size = (sector == null ? 1 : sector.size);
int size = (sector == null ? 1 : sector.width);
float padding = (size-1) * sectorPadding;
if(sector != null && (sector.x != sectorX || sector.y != sectorY)){