From 7708040e4fcdd5709fc6f1010d9f4bdd6d5d6a58 Mon Sep 17 00:00:00 2001 From: ArchLeaders Date: Fri, 23 Feb 2024 19:42:25 -0800 Subject: [PATCH] Set compression level after reload --- src/TotkConfig.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/TotkConfig.cs b/src/TotkConfig.cs index 9f9a375..dcc06e2 100644 --- a/src/TotkConfig.cs +++ b/src/TotkConfig.cs @@ -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; }); }