diff --git a/plugin_template/swinfo.json b/plugin_template/swinfo.json index 64ca3f7..a8ee0bc 100644 --- a/plugin_template/swinfo.json +++ b/plugin_template/swinfo.json @@ -5,7 +5,7 @@ "name": "Patch Manager", "description": "A mod for generic patching needs similar to KSP 1's Module Manager.", "source": "https://github.com/KSP2Community/PatchManager", - "version": "0.9.1", + "version": "0.9.2", "version_check": "https://raw.githubusercontent.com/KSP2Community/PatchManager/main/plugin_template/swinfo.json", "ksp2_version": { "min": "0.2.0", diff --git a/src/PatchManager.Core/Assets/PatchingManager.cs b/src/PatchManager.Core/Assets/PatchingManager.cs index 29aeec6..509ebc3 100644 --- a/src/PatchManager.Core/Assets/PatchingManager.cs +++ b/src/PatchManager.Core/Assets/PatchingManager.cs @@ -188,7 +188,7 @@ private static AsyncOperationHandle> RebuildCache(string label) { var patchedText = PatchJson(label, name, text); if (patchedText == "") continue; - archiveFiles[name] = text; + archiveFiles[name] = patchedText; labelCacheEntry.Assets.Add(name); assetsCacheEntries.Add(name, new CacheEntry { @@ -350,4 +350,4 @@ bool killLoadingBarTips LoadingBarPatch.InjectPatchManagerTips = !killLoadingBarTips; resolve(); } -} \ No newline at end of file +}