diff --git a/.gitignore b/.gitignore index 8708b1a..ba079a6 100644 --- a/.gitignore +++ b/.gitignore @@ -260,3 +260,4 @@ paket-files/ __pycache__/ *.pyc /BasicPanicSystem.rar +/PunchinOut.dll diff --git a/PunchinOut/SaveGamePatcher.cs b/PunchinOut/SaveGamePatcher.cs index e4e01a4..6c45ec7 100644 --- a/PunchinOut/SaveGamePatcher.cs +++ b/PunchinOut/SaveGamePatcher.cs @@ -9,7 +9,7 @@ namespace BasicPanic { - [HarmonyPatch(typeof(GameInstanceSave))] + [HarmonyPatch(typeof(GameInstanceSave), MethodType.Constructor)] [HarmonyPatch(new Type[] { typeof(GameInstance), typeof(SaveReason) })] public static class GameInstanceSave_Constructor_Patch {