Possible fix for double turret outline

This commit is contained in:
Anuken
2022-06-14 11:22:45 -04:00
parent 1af75baa41
commit 122c7654e5

View File

@@ -37,7 +37,7 @@ public class DrawTurret extends DrawBlock{
part.getOutlines(out);
}
if(block.region.found()){
if(block.region.found() && !(block.outlinedIcon > 0 && block.getGeneratedIcons()[block.outlinedIcon].equals(block.region))){
out.add(block.region);
}
}