1
0
mirror of https://github.com/soarqin/DSP_Mods.git synced 2025-12-09 02:53:29 +08:00
This commit is contained in:
2023-09-13 21:06:11 +08:00
parent d2ea2ad38c
commit 410e473de2
9 changed files with 408 additions and 156 deletions

View File

@@ -41,8 +41,7 @@ public static class ResourcePatch
{
if (_infinitePatch != null)
{
_infinitePatch.UnpatchSelf();
_infinitePatch = null;
return;
}
_infinitePatch = Harmony.CreateAndPatchAll(typeof(InfiniteResource));
@@ -59,8 +58,7 @@ public static class ResourcePatch
{
if (_fastPatch != null)
{
_fastPatch.UnpatchSelf();
_fastPatch = null;
return;
}
_fastPatch = Harmony.CreateAndPatchAll(typeof(FastMining));