From c21a0a25162e69d29c32e43aa524ce3e677ff1a5 Mon Sep 17 00:00:00 2001 From: Dexapnow <42710595+Dexapnow@users.noreply.github.com> Date: Mon, 27 Jul 2020 20:27:27 +0200 Subject: [PATCH] Remove "sortersnek" There is many reasons behind it, but most important (that let to removing other "sneks") is infinite throughput/teleporter like mechanic. I know that most of players like it and they will never change their mind, so this might be better solution. --- core/src/mindustry/world/blocks/distribution/Sorter.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/src/mindustry/world/blocks/distribution/Sorter.java b/core/src/mindustry/world/blocks/distribution/Sorter.java index 8fa77bb230..32b13be399 100644 --- a/core/src/mindustry/world/blocks/distribution/Sorter.java +++ b/core/src/mindustry/world/blocks/distribution/Sorter.java @@ -88,7 +88,7 @@ public class Sorter extends Block{ boolean isSame(Building other){ //uncomment code below to prevent sorter/gate chaining - return other != null && (other.block() instanceof Sorter/* || other.block() instanceof OverflowGate */); + return other != null && (other.block() instanceof Sorter || other.block() instanceof OverflowGate); } Building getTileTarget(Item item, Building source, boolean flip){