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:
parent
5405d34c21
commit
82c0120014
@ -52,7 +52,9 @@ export class BeltReaderSystem extends GameSystemWithFilter {
|
|||||||
pinsComp.slots[1].value = readerComp.lastItem;
|
pinsComp.slots[1].value = readerComp.lastItem;
|
||||||
} else {
|
} else {
|
||||||
pinsComp.slots[0].value = BOOL_FALSE_SINGLETON;
|
pinsComp.slots[0].value = BOOL_FALSE_SINGLETON;
|
||||||
pinsComp.slots[1].value = null;
|
if(entity.components.ItemProcessor.ongoingCharges.length < 2) {
|
||||||
|
pinsComp.slots[1].value = null;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user