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

The condition is omitted because it is always 0 or less

This commit is contained in:
isaisstillalive 2020-07-09 00:00:43 +09:00
parent 9d4f5c50fe
commit 51126c7b19

View File

@ -106,9 +106,7 @@ export class ItemProcessorSystem extends GameSystemWithFilter {
}
const baseSpeed = this.root.hubGoals.getProcessorBaseSpeed(processorComp.type);
if (processorComp.secondsUntilEject <= 0) {
processorComp.secondsUntilEject += 1 / baseSpeed;
}
/** @type {Array<{item: BaseItem, requiredSlot?: number, preferredSlot?: number}>} */
const outItems = [];