Fix belt path epsilon
This commit is contained in:
parent
38ba763897
commit
21c9c3cee6
|
@ -59,7 +59,7 @@ export const globalConfig = {
|
|||
|
||||
undergroundBeltMaxTilesByTier: [5, 9],
|
||||
|
||||
readerAnalyzeIntervalSeconds: G_IS_DEV ? 3 : 10,
|
||||
readerAnalyzeIntervalSeconds: 10,
|
||||
|
||||
buildingSpeeds: {
|
||||
cutter: 1 / 4,
|
||||
|
|
|
@ -1111,7 +1111,7 @@ export class BeltPath extends BasicSerializableObject {
|
|||
|
||||
isFirstItemProcessed = false;
|
||||
this.spacingToFirstItem += clampedProgress;
|
||||
if (remainingVelocity < 0.01) {
|
||||
if (remainingVelocity < 1e-7) {
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
|
Reference in New Issue