mirror of
https://github.com/Anuken/Mindustry.git
synced 2026-02-10 09:44:00 -08:00
Fixed #8015
This commit is contained in:
parent
963b96a1fb
commit
f1e1eb1015
1 changed files with 3 additions and 2 deletions
|
|
@ -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);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue