diff --git a/features/select-self/script.js b/features/select-self/script.js index 233076c2..2eb3ef86 100644 --- a/features/select-self/script.js +++ b/features/select-self/script.js @@ -88,7 +88,9 @@ export default async function ({ feature, console }) { feature.self.enabled || feature.traps.vm.runtime._editingTarget?.sprite?.name !== SPRITES[i] ) { - data.push([SPRITES[i], SPRITES[i]]); + if (!data.find((el) => el[0] === SPRITES[i])) { + data.push([SPRITES[i], SPRITES[i]]); + } } }