From aee3eb99c335cb55db345f9c57ccf278276e2203 Mon Sep 17 00:00:00 2001 From: Paul Chote Date: Thu, 31 Dec 2020 18:20:14 +0000 Subject: [PATCH] Fix --dump-sequence-sheets crash. --- OpenRA.Game/Graphics/Sheet.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/OpenRA.Game/Graphics/Sheet.cs b/OpenRA.Game/Graphics/Sheet.cs index b6e3b07fcf..bb9bae1b35 100644 --- a/OpenRA.Game/Graphics/Sheet.cs +++ b/OpenRA.Game/Graphics/Sheet.cs @@ -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()