mirror of
https://github.com/captbaritone/webamp.git
synced 2026-07-22 17:47:16 +00:00
Remove extra values from skin image object
This commit is contained in:
parent
3a02258d81
commit
f8e4defdde
1 changed files with 1 additions and 1 deletions
|
|
@ -100,7 +100,7 @@ async function skinParser(zipFile) {
|
|||
);
|
||||
|
||||
// Merge all the objects into a single object. Tests assert that sprite keys are unique.
|
||||
const images = imageObjs.reduce(Object.assign, {});
|
||||
const images = imageObjs.reduce((prev, img) => Object.assign(prev, img), {});
|
||||
|
||||
const viscolorContent = await genFileFromZip(zip, "VISCOLOR", "txt", "text");
|
||||
const colors = viscolorContent
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue