1
0
mirror of https://github.com/soarqin/DSP_Mods.git synced 2025-12-09 03:33:29 +08:00

only patch once

This commit is contained in:
2024-08-28 20:52:28 +08:00
parent 054b8e14b8
commit 50e209fd38

View File

@@ -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()