mirror of
https://github.com/tobspr/shapez.io.git
synced 2025-06-13 13:04:03 +00:00
fixed all the linting errors
This commit is contained in:
parent
552c37dd88
commit
cca0d7728a
@ -299,8 +299,8 @@ 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){
|
||||
const itemOnBeltSpeed = 1 / this.root.hubGoals.getBeltBaseSpeed();
|
||||
if (processorComp.extraOutputTime <= itemOnBeltSpeed){
|
||||
timeToProcess -= processorComp.extraOutputTime;
|
||||
}
|
||||
processorComp.extraOutputTime = 0;
|
||||
|
Loading…
Reference in New Issue
Block a user