From 25c8623e30f3d54221609c7867eeefd95d65cc03 Mon Sep 17 00:00:00 2001 From: Anuken Date: Tue, 12 Oct 2021 12:35:46 -0400 Subject: [PATCH] router --- core/src/mindustry/world/blocks/distribution/Router.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/src/mindustry/world/blocks/distribution/Router.java b/core/src/mindustry/world/blocks/distribution/Router.java index 141f188446..cddef060f0 100644 --- a/core/src/mindustry/world/blocks/distribution/Router.java +++ b/core/src/mindustry/world/blocks/distribution/Router.java @@ -104,7 +104,7 @@ public class Router extends Block{ int angle = Mathf.mod((int)((angleTo(unit.aimX(), unit.aimY()) + 45) / 90), 4); if(unit.isShooting()){ - Building other = nearby(angle); + Building other = nearby(rotation = angle); if(other != null && other.acceptItem(this, item)){ return other; }