mirror of
https://github.com/scratchfoundation/scratch-vm.git
synced 2025-01-11 10:39:56 -05:00
Copy _customState for now until blocks have init functions
This commit is contained in:
parent
75a9ad4675
commit
d0f1b77209
1 changed files with 1 additions and 0 deletions
|
@ -696,6 +696,7 @@ class RenderedTarget extends Target {
|
|||
newClone.effects = JSON.parse(JSON.stringify(this.effects));
|
||||
newClone.variables = JSON.parse(JSON.stringify(this.variables));
|
||||
newClone.lists = JSON.parse(JSON.stringify(this.lists));
|
||||
newClone._customState = JSON.parse(JSON.stringify(this._customState));
|
||||
newClone.initDrawable();
|
||||
newClone.updateAllDrawableProperties();
|
||||
// Place behind the current target.
|
||||
|
|
Loading…
Reference in a new issue