mirror of
https://github.com/Anuken/Mindustry.git
synced 2025-01-07 05:50:54 +07:00
Fixed #4792
This commit is contained in:
parent
f5ac3ff7b0
commit
1bb97cae39
@ -151,7 +151,9 @@ public class ItemBridge extends Block{
|
|||||||
for(int i = 0; i < plans.size - 1; i++){
|
for(int i = 0; i < plans.size - 1; i++){
|
||||||
var cur = plans.get(i);
|
var cur = plans.get(i);
|
||||||
var next = plans.get(i + 1);
|
var next = plans.get(i + 1);
|
||||||
cur.config = new Point2(next.x - cur.x, next.y - cur.y);
|
if(positionsValid(cur.x, cur.y, next.x, next.y)){
|
||||||
|
cur.config = new Point2(next.x - cur.x, next.y - cur.y);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user