Fix return value of non-existant procedures in interpreter

This commit is contained in:
GarboMuffin committed 2023-07-14 21:51:30 -05:00
1 parent 83605d0216
commit 249bec5762
1 file changed
+3
+3
View File
@@ -49,6 +49,9 @@ class Scratch3ProcedureBlocks {
// block is dragged between sprites without the definition.
// Match Scratch 2.0 behavior and noop.
if (paramNamesIdsAndDefaults === null) {
if (isReporter) {
return '';
}
return;
}