1
0
mirror of https://github.com/tobspr/shapez.io.git synced 2025-06-13 13:04:03 +00:00

fixed reader capping to zero, it now actually correctly caps to the max spped of the belt

This commit is contained in:
Sense101 2021-04-19 14:21:58 +01:00
parent c47ea745c5
commit 4857d33cbf

View File

@ -44,7 +44,7 @@ export class BeltReaderSystem extends GameSystemWithFilter {
}
readerComp.lastThroughput = Math.min(
globalConfig.beltSpeedItemsPerSecond * this.root.hubGoals.upgradeLevels.belt,
globalConfig.beltSpeedItemsPerSecond * this.root.hubGoals.upgradeImprovements.belt,
throughput
);
}