Skip to content

Commit 9ce0bb9

Browse files
authored
Merge pull request #34 from KSP2Community/cheese3660-fix-patching-created-nodes
Update PatchingManager.cs
2 parents 79812bc + b5ff36f commit 9ce0bb9

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

plugin_template/swinfo.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"name": "Patch Manager",
66
"description": "A mod for generic patching needs similar to KSP 1's Module Manager.",
77
"source": "https://github.com/KSP2Community/PatchManager",
8-
"version": "0.9.1",
8+
"version": "0.9.2",
99
"version_check": "https://raw.githubusercontent.com/KSP2Community/PatchManager/main/plugin_template/swinfo.json",
1010
"ksp2_version": {
1111
"min": "0.2.0",

src/PatchManager.Core/Assets/PatchingManager.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,7 @@ private static AsyncOperationHandle<IList<TextAsset>> RebuildCache(string label)
188188
{
189189
var patchedText = PatchJson(label, name, text);
190190
if (patchedText == "") continue;
191-
archiveFiles[name] = text;
191+
archiveFiles[name] = patchedText;
192192
labelCacheEntry.Assets.Add(name);
193193
assetsCacheEntries.Add(name, new CacheEntry
194194
{
@@ -350,4 +350,4 @@ bool killLoadingBarTips
350350
LoadingBarPatch.InjectPatchManagerTips = !killLoadingBarTips;
351351
resolve();
352352
}
353-
}
353+
}

0 commit comments

Comments
 (0)