From 9891e971ea7f2fb7c825fa62a2156277abc6d133 Mon Sep 17 00:00:00 2001 From: Patrick 'Quezler' Mounier Date: Mon, 6 Jan 2020 17:47:22 +0100 Subject: [PATCH] =?UTF-8?q?Only=20unload=20if=20its=20=C2=AC=20the=20tile?= =?UTF-8?q?=20it=20spawned=20on?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ¬ loading if it both start & end plays weird ¬ unloading if it both start & end plays weird —— so only unloading if the origin tile is ¬ the unload tile is the only smooth option sadly this does block player feeding the conveyor at the last tile in the chain --- .../src/mindustry/world/blocks/distribution/CraterConveyor.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/src/mindustry/world/blocks/distribution/CraterConveyor.java b/core/src/mindustry/world/blocks/distribution/CraterConveyor.java index 55ed79d8ae..edcd657d6f 100644 --- a/core/src/mindustry/world/blocks/distribution/CraterConveyor.java +++ b/core/src/mindustry/world/blocks/distribution/CraterConveyor.java @@ -126,7 +126,7 @@ public class CraterConveyor extends BaseConveyor{ // when near the center of the target tile... if(entity.reload < 0.25f){ - if(!(destination.block() instanceof CraterConveyor)){ // ...and if its not a crater conveyor, start unloading (everything) + if(!(destination.block() instanceof CraterConveyor) && entity.link != tile.pos()){ // ...and if its not a crater conveyor, start unloading (everything) while(entity.items.total() > 0 && entity.dominant() != null && offloadDir(tile, entity.dominant())) entity.items.remove(entity.dominant(), 1); } }