Skip to content

Commit

Permalink
Merge pull request #14 from KSP2Community/dev
Browse files Browse the repository at this point in the history
v0.3.1 hotfix :3
  • Loading branch information
jan-bures authored Oct 28, 2023
2 parents 6c5771d + 8563c59 commit fe47659
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions plugin_template/swinfo.json
Original file line number Diff line number Diff line change
Expand Up @@ -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.3.0",
"version": "0.3.1",
"version_check": "https://raw.githubusercontent.com/KSP2Community/PatchManager/main/plugin_template/swinfo.json",
"ksp2_version": {
"min": "0.1.5",
Expand All @@ -20,4 +20,4 @@
}
}
]
}
}
2 changes: 1 addition & 1 deletion src/PatchManager.Core/CoreModule.cs
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ public override void Preload()

PatchingManager.RegisterPatches();

if (_shouldAlwaysInvalidate.Value)
if (_shouldAlwaysInvalidate.Value || SpaceWarp.API.Mods.PluginList.ModListChangedSinceLastRun)
{
CacheManager.CreateCacheFolderIfNotExists();
CacheManager.InvalidateCache();
Expand Down

0 comments on commit fe47659

Please sign in to comment.