diff --git a/tools/src/mindustry/tools/Generators.java b/tools/src/mindustry/tools/Generators.java index b1468997f2..416656cd33 100644 --- a/tools/src/mindustry/tools/Generators.java +++ b/tools/src/mindustry/tools/Generators.java @@ -380,7 +380,7 @@ public class Generators{ base.each((x, y) -> tint.setRaw(x, y, Color.muli(tint.getRaw(x, y), stat.color.rgba()))); //outline the image - Pixmap container = new Pixmap(38, 38); + Pixmap container = new Pixmap(tint.width + 6, tint.height + 6); container.draw(base, 3, 3, true); base = container.outline(Pal.gray, 3); }