mirror of
https://github.com/soarqin/DSP_Mods.git
synced 2025-12-09 02:53:29 +08:00
only patch once
This commit is contained in:
@@ -12,7 +12,7 @@ public static class GameLogic
|
||||
|
||||
public static void Init()
|
||||
{
|
||||
_harmony = Harmony.CreateAndPatchAll(typeof(GameLogic));
|
||||
_harmony ??= Harmony.CreateAndPatchAll(typeof(GameLogic));
|
||||
}
|
||||
|
||||
public static void Uninit()
|
||||
|
||||
Reference in New Issue
Block a user