Compare commits
No commits in common. "main" and "exploded-classic" have entirely different histories.
main
...
exploded-c
@ -280,12 +280,7 @@
|
|||||||
});
|
});
|
||||||
}
|
}
|
||||||
const seen = new Set();
|
const seen = new Set();
|
||||||
return out.filter(c => {
|
return out.filter(c => (seen.has(c.hex) ? false : (seen.add(c.hex), true)));
|
||||||
const key = `${c.image || ''}|${c.hex}`;
|
|
||||||
if (seen.has(key)) return false;
|
|
||||||
seen.add(key);
|
|
||||||
return true;
|
|
||||||
});
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// -------- tiny grid engine (Mithril) ----------
|
// -------- tiny grid engine (Mithril) ----------
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user