Fix --dump-sequence-sheets crash.

This commit is contained in:
Paul Chote
2020-12-31 18:20:14 +00:00
committed by Matthias Mailänder
parent 3aa6fd3dc4
commit aee3eb99c3

View File

@@ -103,7 +103,7 @@ namespace OpenRA.Graphics
for (var i = 0; i < Palette.Size; i++)
palColors[i] = pal.GetColor(i);
return new Png(plane, SpriteFrameType.Bgra32, Size.Width, Size.Height, palColors);
return new Png(plane, SpriteFrameType.Indexed8, Size.Width, Size.Height, palColors);
}
public void CreateBuffer()