mirror of
https://github.com/soarqin/DSP_Mods.git
synced 2026-11-19 17:05:20 +08:00
only patch once
This commit is contained in:
1 parent
054b8e14b8
commit
50e209fd38
1 file changed
+1
-1
@@ -12,7 +12,7 @@ public static class GameLogic
|
|||||||
|
|
||||||
public static void Init()
|
public static void Init()
|
||||||
{
|
{
|
||||||
_harmony = Harmony.CreateAndPatchAll(typeof(GameLogic));
|
_harmony ??= Harmony.CreateAndPatchAll(typeof(GameLogic));
|
||||||
}
|
}
|
||||||
|
|
||||||
public static void Uninit()
|
public static void Uninit()
|
||||||
|
|||||||
Reference in new issue
Block a user