diff --git a/src/sprites/rendered-target.js b/src/sprites/rendered-target.js index f9607b8bc..d6fa70651 100644 --- a/src/sprites/rendered-target.js +++ b/src/sprites/rendered-target.js @@ -659,7 +659,7 @@ class RenderedTarget extends Target { this.sprite.deleteCostumeAt(costumeIndex); this.addCostume(costume, newIndex); - this.setCostume(this.getCostumeIndexByName(currentCostume.name)); + this.currentCostume = this.getCostumeIndexByName(currentCostume.name); return true; }