kopia lustrzana https://github.com/backface/turtlestitch
fixes #1889
rodzic
a1fa2c63d1
commit
539c11cddc
|
@ -3462,10 +3462,12 @@ BlockMorph.prototype.doRefactorGlobalVar = function (
|
||||||
true
|
true
|
||||||
);
|
);
|
||||||
stage.globalBlocks.forEach(function (eachBlock) {
|
stage.globalBlocks.forEach(function (eachBlock) {
|
||||||
|
if (eachBlock.body) {
|
||||||
eachBlock.body.expression.refactorVarInStack(
|
eachBlock.body.expression.refactorVarInStack(
|
||||||
oldName,
|
oldName,
|
||||||
newName
|
newName
|
||||||
);
|
);
|
||||||
|
}
|
||||||
});
|
});
|
||||||
stage.forAllChildren(function (child) {
|
stage.forAllChildren(function (child) {
|
||||||
if (child instanceof SpriteMorph) {
|
if (child instanceof SpriteMorph) {
|
||||||
|
|
Ładowanie…
Reference in New Issue