Fix return value of non-existant procedures in interpreter
This commit is contained in:
1 parent
83605d0216
commit
249bec5762
1 file changed
+3
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user