js: reset variable types after compatibility layer call
Fixes https://github.com/TurboWarp/scratch-vm/issues/245
This commit is contained in:
1 parent
af3b7513a4
commit
cd63c87f07
4 files changed
+70
No files matched your search
@@ -1342,6 +1342,8 @@ class JSGenerator {
|
||||
const opcodeFunction = this.evaluateOnce(`runtime.getOpcodeFunction("${sanitize(opcode)}")`);
|
||||
result += `}, ${opcodeFunction}, ${this.isWarp}, ${setFlags}, "${sanitize(node.id)}", ${frameName})`;
|
||||
|
||||
this.yielded();
|
||||
|
||||
return result;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user