Skip to content

Commit

Permalink
Fixed bridge placement annoyance (Erekir)
Browse files Browse the repository at this point in the history
  • Loading branch information
Anuken committed Oct 28, 2024
1 parent a7cad98 commit a9331d4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/src/mindustry/input/Placement.java
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,7 @@ public static void calculateBridges(Seq<BuildPlan> plans, DirectionBridge bridge

Boolf<BuildPlan> placeable = plan ->
(plan.placeable(player.team()) || (plan.tile() != null && plan.tile().block() == plan.block)) && //don't count the same block as inaccessible
!(plan.build() != null && plan.build().rotation != plan.rotation && avoid.get(plan.tile().block()));
!(plan != plans.first() && plan.build() != null && plan.build().rotation != plan.rotation && avoid.get(plan.tile().block()));

var result = plans1.clear();

Expand Down

0 comments on commit a9331d4

Please sign in to comment.