diff --git a/core/assets/maps/karst.msav b/core/assets/maps/karst.msav index a984f97266..cefbdedc9c 100644 Binary files a/core/assets/maps/karst.msav and b/core/assets/maps/karst.msav differ diff --git a/core/assets/maps/onset.msav b/core/assets/maps/onset.msav index d13f8c0a5c..c48193b98e 100644 Binary files a/core/assets/maps/onset.msav and b/core/assets/maps/onset.msav differ diff --git a/core/src/mindustry/world/Build.java b/core/src/mindustry/world/Build.java index ce352c2694..bca5d1a26f 100644 --- a/core/src/mindustry/world/Build.java +++ b/core/src/mindustry/world/Build.java @@ -192,10 +192,6 @@ public class Build{ !check.floor().placeableOn || //solid wall (!checkVisible && !check.block().alwaysReplace) || //replacing a block that should be replaced (e.g. payload placement) !((type.canReplace(check.block()) || //can replace type - //controversial change: allow rebuilding damaged blocks - //this could be buggy and abuse-able, so I'm not enabling it yet - //note that this requires a change in BuilderComp as well - //(type == check.block() && check.centerX() == x && check.centerY() == y && check.build != null && check.build.health < check.build.maxHealth - 0.0001f) || (check.build instanceof ConstructBuild build && build.current == type && check.centerX() == tile.x && check.centerY() == tile.y)) && //same type in construction type.bounds(tile.x, tile.y, Tmp.r1).grow(0.01f).contains(check.block.bounds(check.centerX(), check.centerY(), Tmp.r2))) || //no replacement (type.requiresWater && check.floor().liquidDrop != Liquids.water) //requires water but none found