Fixed strange smooth movement of fast ground units

This commit is contained in:
Anuken
2022-09-10 15:02:55 -04:00
parent 3acb449205
commit abb92350c0
4 changed files with 2 additions and 3 deletions

View File

@@ -409,7 +409,7 @@ public class Conveyor extends Block implements Autotiler{
@Override
public Object senseObject(LAccess sensor){
if(sensor == LAccess.firstItem && len > 0) return ids[Math.max(0, len - 1)];
if(sensor == LAccess.firstItem && len > 0) return ids[len - 1];
return super.senseObject(sensor);
}