Skip to content

Commit 8055b66

Browse files
committed
Ignore monitors of nonexistent sprites
1 parent 48ddafb commit 8055b66

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/internal/scratch3reader.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -399,7 +399,8 @@ bool Scratch3Reader::load()
399399
}
400400
}
401401

402-
assert(monitor->sprite());
402+
if (!monitor->sprite())
403+
continue;
403404
}
404405

405406
// width

0 commit comments

Comments
 (0)