mirror of
https://github.com/Anuken/Mindustry.git
synced 2025-03-09 20:29:06 +07:00
a
This commit is contained in:
parent
56ed932716
commit
76430c1e68
@ -154,14 +154,12 @@ public class PayloadConveyor extends Block{
|
||||
//trigger update forward
|
||||
next.updateTile();
|
||||
|
||||
if(next != null){
|
||||
//TODO add self to queue of next conveyor, then check if this conveyor was selected next frame - selection happens deterministically
|
||||
if(next.acceptPayload(this, item)){
|
||||
//move forward.
|
||||
next.handlePayload(this, item);
|
||||
item = null;
|
||||
moved();
|
||||
}
|
||||
//TODO add self to queue of next conveyor, then check if this conveyor was selected next frame - selection happens deterministically
|
||||
if(next != null && next.acceptPayload(this, item)){
|
||||
//move forward.
|
||||
next.handlePayload(this, item);
|
||||
item = null;
|
||||
moved();
|
||||
}
|
||||
}else if(!blocked){
|
||||
//dump item forward
|
||||
|
@ -25,4 +25,4 @@ org.gradle.caching=true
|
||||
#used for slow jitpack builds; TODO see if this actually works
|
||||
org.gradle.internal.http.socketTimeout=100000
|
||||
org.gradle.internal.http.connectionTimeout=100000
|
||||
archash=1d7a035858
|
||||
archash=7230b65064
|
||||
|
Loading…
Reference in New Issue
Block a user