mirror of
https://github.com/scratchfoundation/scratch-vm.git
synced 2024-12-24 15:02:52 -05:00
Removing unnecessary comments from edits.
This commit is contained in:
parent
70081132cb
commit
7fae93f6e6
1 changed files with 0 additions and 3 deletions
|
@ -474,9 +474,6 @@ class VirtualMachine extends EventEmitter {
|
||||||
*/
|
*/
|
||||||
deleteSprite (targetId) {
|
deleteSprite (targetId) {
|
||||||
const target = this.runtime.getTargetById(targetId);
|
const target = this.runtime.getTargetById(targetId);
|
||||||
// const targetIndexBeforeDelete = this.runtime.targets.map(t => t.id).indexOf(target.id);
|
|
||||||
// can't call target.id if target doesn't exist.
|
|
||||||
// moving below
|
|
||||||
|
|
||||||
if (target) {
|
if (target) {
|
||||||
const targetIndexBeforeDelete = this.runtime.targets.map(t => t.id).indexOf(target.id);
|
const targetIndexBeforeDelete = this.runtime.targets.map(t => t.id).indexOf(target.id);
|
||||||
|
|
Loading…
Reference in a new issue