Skip to content

Commit

Permalink
Set compression level after reload
Browse files Browse the repository at this point in the history
  • Loading branch information
ArchLeaders committed Feb 24, 2024
1 parent 970e8c1 commit 7708040
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/TotkConfig.cs
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ partial void OnGamePathChanged(string value)
bool isValid = !string.IsNullOrEmpty(value)
&& File.Exists(Path.Combine(value, "System", "RegionLangMask.txt"));
TotkZstd.Reload(ZsDicPath);
TotkZstd.SetLevel(Convert.ToInt32(ZstdCompressionLevel));
return isValid;
});
}
Expand Down

0 comments on commit 7708040

Please sign in to comment.