From f1e1eb1015914cb58c4e0eb707d7dbe2bf48ce5a Mon Sep 17 00:00:00 2001 From: Anuken Date: Sat, 7 Jan 2023 14:54:15 -0500 Subject: [PATCH] Fixed #8015 --- core/src/mindustry/world/blocks/distribution/ItemBridge.java | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/core/src/mindustry/world/blocks/distribution/ItemBridge.java b/core/src/mindustry/world/blocks/distribution/ItemBridge.java index 20dc091f86..8b40e9feb2 100644 --- a/core/src/mindustry/world/blocks/distribution/ItemBridge.java +++ b/core/src/mindustry/world/blocks/distribution/ItemBridge.java @@ -36,6 +36,7 @@ public class ItemBridge extends Block{ public boolean pulse = false; public float arrowSpacing = 4f, arrowOffset = 2f, arrowPeriod = 0.4f; public float arrowTimeScl = 6.2f; + public float bridgeWidth = 6.5f; //for autolink public @Nullable ItemBridgeBuild lastBuild; @@ -81,7 +82,7 @@ public class ItemBridge extends Block{ if(Mathf.zero(Renderer.bridgeOpacity)) return; Draw.alpha(Renderer.bridgeOpacity); - Lines.stroke(8f); + Lines.stroke(bridgeWidth); Tmp.v1.set(ox, oy).sub(req.drawx(), req.drawy()).setLength(tilesize/2f); @@ -372,7 +373,7 @@ public class ItemBridge extends Block{ Draw.rect(endRegion, x, y, i * 90 + 90); Draw.rect(endRegion, other.drawx(), other.drawy(), i * 90 + 270); - Lines.stroke(8f); + Lines.stroke(bridgeWidth); Tmp.v1.set(x, y).sub(other.worldx(), other.worldy()).setLength(tilesize/2f).scl(-1f);