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']))