mirror of
https://github.com/Anuken/Mindustry.git
synced 2025-01-27 16:09:57 +07:00
Fixed #5500
This commit is contained in:
parent
75443e4dfc
commit
8afea88023
@ -43,6 +43,10 @@ public class PayloadRouter extends PayloadConveyor{
|
|||||||
do{
|
do{
|
||||||
rotation = (rotation + 1) % 4;
|
rotation = (rotation + 1) % 4;
|
||||||
onProximityUpdate();
|
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
|
//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
|
//"accept from self" conditions are for dropped payloads and are less restrictive
|
||||||
}while((blocked || next == null || !next.acceptPayload(next, item)) && ++rotations < 4);
|
}while((blocked || next == null || !next.acceptPayload(next, item)) && ++rotations < 4);
|
||||||
|
Loading…
Reference in New Issue
Block a user