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

fixed them finally

This commit is contained in:
Sense101 2021-01-03 13:36:48 +00:00 committed by GitHub
parent cca0d7728a
commit f2487ba422
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -300,7 +300,7 @@ export class ItemProcessorSystem extends GameSystemWithFilter {
const bonusTimeToApply = Math.min(originalTime, processorComp.bonusTime);
let timeToProcess = originalTime - bonusTimeToApply;
const itemOnBeltSpeed = 1 / this.root.hubGoals.getBeltBaseSpeed();
if (processorComp.extraOutputTime <= itemOnBeltSpeed){
if (processorComp.extraOutputTime <= itemOnBeltSpeed) {
timeToProcess -= processorComp.extraOutputTime;
}
processorComp.extraOutputTime = 0;