Fix IDE0200

This commit is contained in:
RoosterDragon
2024-11-25 20:44:40 +00:00
committed by Gustas Kažukauskas
parent ce3ad6fbb3
commit 0338258b45
45 changed files with 64 additions and 64 deletions

View File

@@ -288,7 +288,7 @@ namespace OpenRA.Mods.Cnc.SpriteLoaders
public static void Write(Stream s, Size size, IEnumerable<byte[]> frames)
{
var compressedFrames = frames.Select(f => LCWCompression.Encode(f)).ToList();
var compressedFrames = frames.Select(LCWCompression.Encode).ToList();
// note: end-of-file and all-zeroes headers
var dataOffset = 14 + (compressedFrames.Count + 2) * 8;