diff --git a/core/src/mindustry/Vars.java b/core/src/mindustry/Vars.java index c340778dc2ba..b9771f542b79 100644 --- a/core/src/mindustry/Vars.java +++ b/core/src/mindustry/Vars.java @@ -51,7 +51,7 @@ public class Vars implements Loadable{ /** Maximum extra padding around deployment schematics. */ public static final int maxLoadoutSchematicPad = 5; /** Maximum schematic size.*/ - public static final int maxSchematicSize = 32; + public static final int maxSchematicSize = 999; /** All schematic base64 starts with this string.*/ public static final String schematicBaseStart ="bXNjaA"; /** IO buffer size. */ diff --git a/core/src/mindustry/type/UnitType.java b/core/src/mindustry/type/UnitType.java index c6d77b872bb9..f5c630ed4ac9 100644 --- a/core/src/mindustry/type/UnitType.java +++ b/core/src/mindustry/type/UnitType.java @@ -239,9 +239,9 @@ public void display(Unit unit, Table table){ } }).growX(); - if(unit.controller() instanceof LogicAI){ + if(unit.controller() instanceof LogicAI control){ table.row(); - table.add(Blocks.microProcessor.emoji() + " " + Core.bundle.get("units.processorcontrol")).growX().wrap().left(); + table.add(Blocks.microProcessor.emoji() + " (" + control.controller.x / tilesize + ", " + control.controller.y / tilesize + ")").growX().wrap().left(); table.row(); table.label(() -> Iconc.settings + " " + (long)unit.flag + "").color(Color.lightGray).growX().wrap().left(); }