Skip to content

Commit

Permalink
Merge pull request #2427 from apple502j/patch-11
Browse files Browse the repository at this point in the history
Fix sensing_of when renaming global variables
  • Loading branch information
fsih authored May 27, 2020
2 parents 32f87b3 + 4bd04e2 commit 33e73c3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/engine/target.js
Original file line number Diff line number Diff line change
Expand Up @@ -330,7 +330,7 @@ class Target extends EventEmitter {
blockUpdated = t.blocks.updateSensingOfReference(
oldName,
newName,
this.isStage ? '__stage__' : this.getName()
this.isStage ? '_stage_' : this.getName()
) || blockUpdated;
});
// Request workspace change only if sensing_of blocks were actually updated.
Expand Down

0 comments on commit 33e73c3

Please sign in to comment.