about summary refs log tree commit diff stats
path: root/AnodyneArchipelago/Patches
diff options
context:
space:
mode:
authorStar Rauchenberger <fefferburbia@gmail.com>2024-05-26 01:04:08 -0400
committerStar Rauchenberger <fefferburbia@gmail.com>2024-05-26 01:04:08 -0400
commit594f1751bba1744623681efec01ea628e9b69dcb (patch)
treea78e6b3783f7dad2595a2722c8fc135a5f890704 /AnodyneArchipelago/Patches
parentd179faefd1d663347fb1a332b3c15bb9cf373955 (diff)
downloadanodyne-archipelago-594f1751bba1744623681efec01ea628e9b69dcb.tar.gz
anodyne-archipelago-594f1751bba1744623681efec01ea628e9b69dcb.tar.bz2
anodyne-archipelago-594f1751bba1744623681efec01ea628e9b69dcb.zip
Credits sends goal now
Diffstat (limited to 'AnodyneArchipelago/Patches')
-rw-r--r--AnodyneArchipelago/Patches/StatePatches.cs10
1 files changed, 10 insertions, 0 deletions
diff --git a/AnodyneArchipelago/Patches/StatePatches.cs b/AnodyneArchipelago/Patches/StatePatches.cs index 31c0aef..c1e03fe 100644 --- a/AnodyneArchipelago/Patches/StatePatches.cs +++ b/AnodyneArchipelago/Patches/StatePatches.cs
@@ -117,4 +117,14 @@ namespace AnodyneArchipelago.Patches
117 } 117 }
118 } 118 }
119 } 119 }
120
121 [HarmonyPatch(typeof(CreditsState), MethodType.Constructor, new Type[] {})]
122 static class CreateCreditsPatch
123 {
124 static void Postfix()
125 {
126 Plugin.IsGamePaused = true;
127 Plugin.ArchipelagoManager.ActivateGoal();
128 }
129 }
120} 130}