fix: Fixes extracting zstd and deserializing old account version (#828)
This commit is contained in:
parent
f4302928bb
commit
7361c9158b
2 changed files with 4 additions and 3 deletions
|
|
@ -93,7 +93,8 @@ namespace Server.Accounting
|
|||
|
||||
_totalGameTime = reader.ReadTimeSpan();
|
||||
|
||||
_email = reader.ReadString();
|
||||
if (version > 1)
|
||||
_email = reader.ReadString();
|
||||
|
||||
Timer.StartTimer(AfterDeserialization);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -23,8 +23,8 @@ namespace Server.Compression
|
|||
{
|
||||
StartInfo = new ProcessStartInfo
|
||||
{
|
||||
FileName = _pathToZstd,
|
||||
Arguments = $"-q -d \"{fileNamePath}\" -o \"${tempTarArchive}\""
|
||||
FileName = Path.Combine(_pathToZstd, "zstd.exe"),
|
||||
Arguments = $"-q -d \"{fileNamePath}\" -o \"{tempTarArchive}\""
|
||||
}
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue