mirror of
https://github.com/Anuken/Mindustry.git
synced 2024-12-22 22:04:19 +07:00
Fixed bridge placement annoyance
This commit is contained in:
parent
bbff564f96
commit
a7cad98390
@ -142,7 +142,7 @@ public class Placement{
|
||||
|
||||
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();
|
||||
var rotated = plans.first().tile() != null && plans.first().tile().absoluteRelativeTo(plans.peek().x, plans.peek().y) == Mathf.mod(plans.first().rotation + 2, 4);
|
||||
|
Loading…
Reference in New Issue
Block a user