Clean up calls to fixUpVariableReferences

This commit is contained in:
Karishma Chadha 2018-06-25 09:11:48 -04:00
parent b40ac54fdd
commit f06b8a3943
2 changed files with 4 additions and 6 deletions
src/engine

View file

@ -348,8 +348,6 @@ class Target extends EventEmitter {
* variable does exist in the target itself (e.g. it's a local variable in the sprite being uploaded),
* then the variable is renamed to distinguish itself from the pre-existing variable.
* All blocks that reference the local variable will be updated to use the new name.
// * @param {Target} target The new target being uploaded, with potential variable conflicts
// * @param {Runtime} runtime The runtime context with any pre-existing variables
*/
fixUpVariableReferences () {
if (!this.runtime) return; // There's no runtime context to conflict with