mirror of
https://github.com/Anuken/Mindustry.git
synced 2025-01-27 08:00:04 +07:00
Only unload if its ¬ the tile it spawned on
¬ 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
This commit is contained in:
parent
6b3dc669eb
commit
9891e971ea
@ -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);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user