mirror of
https://github.com/scratchfoundation/scratch-vm.git
synced 2025-08-01 17:11:21 -04:00
Confirm extension in use in sb2 serialization (#1643)
Add a check when serializing sb2 projects to see whether an extension is actually in use in a block or a visible monitor.
This commit is contained in:
parent
17874030e6
commit
899ce56214
7 changed files with 111 additions and 2 deletions
src/engine
|
@ -1596,6 +1596,14 @@ class Runtime extends EventEmitter {
|
|||
return count;
|
||||
}
|
||||
|
||||
/**
|
||||
*
|
||||
* @return {OrderedMap} The current state of monitor blocks.
|
||||
*/
|
||||
getMonitorState () {
|
||||
return this._monitorState;
|
||||
}
|
||||
|
||||
/**
|
||||
* Queue monitor blocks to sequencer to be run.
|
||||
*/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue