about summary refs log tree commit diff stats
path: root/AnodyneArchipelago/Patches
diff options
context:
space:
mode:
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}