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:
parent
9d4f5c50fe
commit
51126c7b19
@ -106,9 +106,7 @@ export class ItemProcessorSystem extends GameSystemWithFilter {
|
|||||||
}
|
}
|
||||||
|
|
||||||
const baseSpeed = this.root.hubGoals.getProcessorBaseSpeed(processorComp.type);
|
const baseSpeed = this.root.hubGoals.getProcessorBaseSpeed(processorComp.type);
|
||||||
if (processorComp.secondsUntilEject <= 0) {
|
processorComp.secondsUntilEject += 1 / baseSpeed;
|
||||||
processorComp.secondsUntilEject += 1 / baseSpeed;
|
|
||||||
}
|
|
||||||
|
|
||||||
/** @type {Array<{item: BaseItem, requiredSlot?: number, preferredSlot?: number}>} */
|
/** @type {Array<{item: BaseItem, requiredSlot?: number, preferredSlot?: number}>} */
|
||||||
const outItems = [];
|
const outItems = [];
|
||||||
|
Loading…
Reference in New Issue
Block a user