Sector tint / Sector preset system

This commit is contained in:
Anuken
2018-10-04 20:59:58 -04:00
parent 244eb91dfb
commit a771dc8787
3 changed files with 23 additions and 7 deletions

View File

@@ -146,7 +146,7 @@ public class SectorsDialog extends FloatingDialog{
drawY += (height-1)/2f*padSectorSize;
if(sector != null && sector.texture != null){
Draw.color(Color.WHITE);
Draw.colorl(!sector.complete ? 0.3f : 1f);
Draw.rect(sector.texture, drawX, drawY, sectorSize * width + paddingx, sectorSize * height + paddingy);
}