1
0
mirror of https://github.com/tobspr/shapez.io.git synced 2026-03-02 03:39:21 +00:00

Make belts balanced

This commit is contained in:
tobspr
2020-05-16 23:01:26 +02:00
parent 5e3c28c150
commit 12fc7b084a
15 changed files with 269 additions and 273 deletions

View File

@@ -118,11 +118,6 @@ export class ItemProcessorComponent extends Component {
* @param {BaseItem} item
*/
tryTakeItem(item, sourceSlot, sourceDirection) {
if (this.inputSlots.length >= this.inputsPerCharge) {
// Already full
return false;
}
// Check that we only take one item per slot
for (let i = 0; i < this.inputSlots.length; ++i) {
const slot = this.inputSlots[i];