mirror of
https://github.com/soarqin/DSP_Mods.git
synced 2025-12-09 02:53:29 +08:00
WIP
This commit is contained in:
@@ -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));
|
||||
|
||||
Reference in New Issue
Block a user