From 07bffbdc2c487a867cd3e57a5f46fe4b0c06803d Mon Sep 17 00:00:00 2001 From: Lephenixnoir Date: Tue, 31 May 2022 20:42:59 +0100 Subject: [PATCH] No, that one I deserve --- assets-cg/converters.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/assets-cg/converters.py b/assets-cg/converters.py index a59270d..3f295e5 100644 --- a/assets-cg/converters.py +++ b/assets-cg/converters.py @@ -284,7 +284,7 @@ def _aseprite_render_cel(c, indexed=False, palette=None, newpalette=None): for c in palette.colors] if newpalette is not None: assert indexed and newpalette.chunk_type == 0x2019 # Palette - newcolors = [(c["red"], c["blue"], c["green"], c["alpha"]) + newcolors = [(c["red"], c["green"], c["blue"], c["alpha"]) for c in newpalette.colors] img = Image.new("RGBA", (c.data['width'], c.data['height']))