mirror of
https://github.com/scratchfoundation/scratch-vm.git
synced 2025-07-27 22:50:22 -04: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…
Add table
Add a link
Reference in a new issue