From 3378475f6ab6c1e9b59c8f8fbdda2a09f42203ad Mon Sep 17 00:00:00 2001 From: Anuken Date: Sun, 9 Feb 2025 11:49:26 -0500 Subject: [PATCH] Closes #6940 --- core/src/mindustry/world/blocks/payloads/PayloadConveyor.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/core/src/mindustry/world/blocks/payloads/PayloadConveyor.java b/core/src/mindustry/world/blocks/payloads/PayloadConveyor.java index 650846987b..fb54c1721a 100644 --- a/core/src/mindustry/world/blocks/payloads/PayloadConveyor.java +++ b/core/src/mindustry/world/blocks/payloads/PayloadConveyor.java @@ -47,8 +47,10 @@ public class PayloadConveyor extends Block{ public void drawPlace(int x, int y, int rotation, boolean valid){ super.drawPlace(x, y, rotation, valid); + int ntrns = 1 + size/2; + for(int i = 0; i < 4; i++){ - Building other = world.build(x + Geometry.d4x[i] * size, y + Geometry.d4y[i] * size); + Building other = world.build(x + Geometry.d4x[i] * ntrns, y + Geometry.d4y[i] * ntrns); if(other != null && other.block.outputsPayload && other.block.size == size){ Drawf.selected(other.tileX(), other.tileY(), other.block, other.team.color); }