mirror of
https://github.com/scratchfoundation/scratch-vm.git
synced 2024-12-23 14:32:59 -05:00
Serialize variable isCloud flag to xml.
This commit is contained in:
parent
122443a75f
commit
5917ea571d
1 changed files with 2 additions and 1 deletions
|
@ -35,7 +35,8 @@ class Variable {
|
||||||
|
|
||||||
toXML (isLocal) {
|
toXML (isLocal) {
|
||||||
isLocal = (isLocal === true);
|
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