From 78137270ed0e038ee02ff570e835df9aee712b5c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=AE=8B=E5=BD=B1=E6=97=A7=E6=A2=A6?= <2589466905@qq.com> Date: Sat, 4 Jul 2026 18:22:15 +0800 Subject: [PATCH 1/3] bug fix --- src/newhorizon/expand/logic/ActionLStatement.java | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/newhorizon/expand/logic/ActionLStatement.java b/src/newhorizon/expand/logic/ActionLStatement.java index e862bb42..9560a559 100644 --- a/src/newhorizon/expand/logic/ActionLStatement.java +++ b/src/newhorizon/expand/logic/ActionLStatement.java @@ -22,6 +22,11 @@ public String getLStatementName() { return "statement"; } + @Override + public boolean privileged() { + return true; + } + @Override public void build(Table table) { } From a6133bd271826326943193619ecb1e0dfdcc7466 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=AE=8B=E5=BD=B1=E6=97=A7=E6=A2=A6?= <2589466905@qq.com> Date: Sat, 4 Jul 2026 18:29:30 +0800 Subject: [PATCH 2/3] bug fix --- .../expand/block/defence/AdaptWall.java | 26 +++++++++---------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/src/newhorizon/expand/block/defence/AdaptWall.java b/src/newhorizon/expand/block/defence/AdaptWall.java index 947b936f..c9fd5d08 100644 --- a/src/newhorizon/expand/block/defence/AdaptWall.java +++ b/src/newhorizon/expand/block/defence/AdaptWall.java @@ -137,19 +137,19 @@ public boolean checkAutotileInnerSame(Building build) { return build instanceof AdaptWallBuild wall && build.block == this.block && wall.drawIndex == 13; } - @Override - public void drawSelect() { - super.drawSelect(); - findLinkWalls(); - for (Building wall : toDamage) { - Draw.color(team.color); - Draw.alpha(0.5f); - Fill.square(wall.x, wall.y, 2); - } - Draw.reset(); - - drawPlaceText((drawIndex % 12) + "-" + (drawIndex / 12), tileX(), tileY(), true); - } + //@Override + //public void drawSelect() { + // super.drawSelect(); + // findLinkWalls(); + // for (Building wall : toDamage) { + // Draw.color(team.color); + // Draw.alpha(0.5f); + // Fill.square(wall.x, wall.y, 2); + // } + // Draw.reset(); + + // drawPlaceText((drawIndex % 12) + "-" + (drawIndex / 12), tileX(), tileY(), true); + //} public void updateProximityWall() { connectedWalls.clear(); From fbfe59db96fd2af8fed40fa0307cf0a1313637c1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=AE=8B=E5=BD=B1=E6=97=A7=E6=A2=A6?= <2589466905@qq.com> Date: Sat, 4 Jul 2026 18:30:32 +0800 Subject: [PATCH 3/3] bug fix --- .../expand/block/defence/AdaptWall.java | 26 +++++++++---------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/src/newhorizon/expand/block/defence/AdaptWall.java b/src/newhorizon/expand/block/defence/AdaptWall.java index c9fd5d08..54ebb5f5 100644 --- a/src/newhorizon/expand/block/defence/AdaptWall.java +++ b/src/newhorizon/expand/block/defence/AdaptWall.java @@ -137,19 +137,19 @@ public boolean checkAutotileInnerSame(Building build) { return build instanceof AdaptWallBuild wall && build.block == this.block && wall.drawIndex == 13; } - //@Override - //public void drawSelect() { - // super.drawSelect(); - // findLinkWalls(); - // for (Building wall : toDamage) { - // Draw.color(team.color); - // Draw.alpha(0.5f); - // Fill.square(wall.x, wall.y, 2); - // } - // Draw.reset(); - - // drawPlaceText((drawIndex % 12) + "-" + (drawIndex / 12), tileX(), tileY(), true); - //} + @Override + public void drawSelect() { + super.drawSelect(); + findLinkWalls(); + for (Building wall : toDamage) { + Draw.color(team.color); + Draw.alpha(0.5f); + Fill.square(wall.x, wall.y, 2); + } + Draw.reset(); + + //drawPlaceText((drawIndex % 12) + "-" + (drawIndex / 12), tileX(), tileY(), true); + } public void updateProximityWall() { connectedWalls.clear();