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

fixed shape output clearing if the belt is backed up

This commit is contained in:
Sense101 2021-04-16 13:30:33 +01:00
parent 5405d34c21
commit 82c0120014

View File

@ -52,7 +52,9 @@ export class BeltReaderSystem extends GameSystemWithFilter {
pinsComp.slots[1].value = readerComp.lastItem;
} else {
pinsComp.slots[0].value = BOOL_FALSE_SINGLETON;
pinsComp.slots[1].value = null;
if(entity.components.ItemProcessor.ongoingCharges.length < 2) {
pinsComp.slots[1].value = null;
}
}
}
}