Skip to content

Commit

Permalink
Updated to account for how Harmony wants constructors to be patched.
Browse files Browse the repository at this point in the history
  • Loading branch information
RealityMachina committed Dec 2, 2018
1 parent 6de9afa commit 8665536
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -260,3 +260,4 @@ paket-files/
__pycache__/
*.pyc
/BasicPanicSystem.rar
/PunchinOut.dll
2 changes: 1 addition & 1 deletion PunchinOut/SaveGamePatcher.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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
{
Expand Down

0 comments on commit 8665536

Please sign in to comment.