We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents df8ecfc + 460de3a commit 3b8cd66Copy full SHA for 3b8cd66
features/select-self/script.js
@@ -88,7 +88,9 @@ export default async function ({ feature, console }) {
88
feature.self.enabled ||
89
feature.traps.vm.runtime._editingTarget?.sprite?.name !== SPRITES[i]
90
) {
91
- data.push([SPRITES[i], SPRITES[i]]);
+ if (!data.find((el) => el[0] === SPRITES[i])) {
92
+ data.push([SPRITES[i], SPRITES[i]]);
93
+ }
94
}
95
96
0 commit comments