mirror of
https://github.com/scratchfoundation/scratch-vm.git
synced 2025-01-08 14:01:58 -05:00
Merge pull request #4 from tmickel/bugfix/too-many-stacks
Remove reference to old newParentId
This commit is contained in:
commit
eaf6016b8e
3 changed files with 260 additions and 319 deletions
|
@ -69,7 +69,7 @@ Runtime.prototype.moveBlock = function (e) {
|
|||
}
|
||||
|
||||
// Block was removed from parent
|
||||
if (e.newParentId === undefined && e.oldParent !== undefined) {
|
||||
if (e.newParent === undefined && e.oldParent !== undefined) {
|
||||
// Add stack
|
||||
_this.stacks.push(e.id);
|
||||
|
||||
|
|
9
vm.min.js
vendored
9
vm.min.js
vendored
File diff suppressed because one or more lines are too long
Loading…
Reference in a new issue