Skip to content

Commit

Permalink
Fix: Incorrect compression type mapping
Browse files Browse the repository at this point in the history
  • Loading branch information
leezer3 committed Dec 8, 2024
1 parent d2b81d3 commit d324524
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions source/OpenBveApi/Packages/Packages.cs
Original file line number Diff line number Diff line change
Expand Up @@ -189,13 +189,13 @@ public class PackageFile
public enum CompressionType
{
/// <summary>LZMA Zip compression</summary>
Zip = 1,
/// <summary>G compression</summary>
TarGZ = 2,
GZip = 2,
Zip = 0,
/// <summary>G comp0ession</summary>
TarGZ = 1,
GZip = 1,
/// <summary>BZip2 compression</summary>
BZ2 = 3,
BZip = 3
BZ2 = 2,
BZip = 2
}

/// <summary>The current operation being performed</summary>
Expand Down

0 comments on commit d324524

Please sign in to comment.