mirror of
https://github.com/scratchfoundation/scratch-vm.git
synced 2025-04-28 15:24:44 -04:00
Remove reference to old newParentId
This commit is contained in:
parent
f1375ef44f
commit
182b16f412
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…
Add table
Add a link
Reference in a new issue