mirror of
https://github.com/scratchfoundation/scratch-vm.git
synced 2024-12-23 06:23:37 -05:00
Merge pull request #1795 from kchadha/cloud-rename-bugfix
Serialize variable isCloud flag to xml.
This commit is contained in:
commit
3952c7e4fa
1 changed files with 2 additions and 1 deletions
|
@ -35,7 +35,8 @@ class Variable {
|
|||
|
||||
toXML (isLocal) {
|
||||
isLocal = (isLocal === true);
|
||||
return `<variable type="${this.type}" id="${this.id}" islocal="${isLocal}">${this.name}</variable>`;
|
||||
return `<variable type="${this.type}" id="${this.id}" islocal="${isLocal
|
||||
}" iscloud="${this.isCloud}">${this.name}</variable>`;
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in a new issue