diff --git a/core/src/io/anuke/mindustry/world/Block.java b/core/src/io/anuke/mindustry/world/Block.java index c8122f0b6e..29b9d10913 100644 --- a/core/src/io/anuke/mindustry/world/Block.java +++ b/core/src/io/anuke/mindustry/world/Block.java @@ -675,24 +675,7 @@ public class Block extends BlockStorage{ if(!synthetic()){ PixmapRegion image = Core.atlas.getPixmap((AtlasRegion)icon(Cicon.full)); - - Color average = this.color; - Color color = new Color(); - for(int x = 0; x < image.width; x++){ - for(int y = 0; y < image.height; y++){ - image.getPixel(x, y, color); - average.r += color.r; - average.g += color.g; - average.b += color.b; - } - } - average.mul(1f / (image.width * image.height)); - if(isFloor()){ - average.mul(0.8f); - }else{ - average.mul(1.1f); - } - average.a = 1f; + color.set(image.getPixel(image.width/2, image.height/2)); } }