mirror of
https://github.com/Anuken/Mindustry.git
synced 2025-01-26 23:50:18 +07:00
Fixed #5500
This commit is contained in:
parent
75443e4dfc
commit
8afea88023
@ -43,6 +43,10 @@ public class PayloadRouter extends PayloadConveyor{
|
||||
do{
|
||||
rotation = (rotation + 1) % 4;
|
||||
onProximityUpdate();
|
||||
//force update to transfer if necessary
|
||||
if(next instanceof PayloadConveyorBuild && !(next instanceof PayloadRouterBuild)){
|
||||
next.updateTile();
|
||||
}
|
||||
//this condition intentionally uses "accept from itself" conditions, because payload conveyors only accept during the start
|
||||
//"accept from self" conditions are for dropped payloads and are less restrictive
|
||||
}while((blocked || next == null || !next.acceptPayload(next, item)) && ++rotations < 4);
|
||||
|
Loading…
Reference in New Issue
Block a user