Update blocks.js

snap7
jmoenig 2021-12-08 17:18:24 +01:00
rodzic 10a0e62f23
commit d577d677d5
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -3821,7 +3821,7 @@ BlockMorph.prototype.copyWithInputs = function (inputs) {
slots = cpy.inputs();
slots.forEach((slot) => {
var inp;
if (slot instanceof MultiArgMorph && !slot.isEmptySlot()) {
if (slot instanceof MultiArgMorph && slot.inputs().length) {
slot.inputs().forEach(entry => {
inp = dta[count];
if (inp instanceof BlockMorph) {