diff options
Diffstat (limited to 'GameplayPatches.cs')
-rw-r--r-- | GameplayPatches.cs | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/GameplayPatches.cs b/GameplayPatches.cs index b2b8e54..03e3f13 100644 --- a/GameplayPatches.cs +++ b/GameplayPatches.cs | |||
@@ -259,6 +259,12 @@ namespace ManifoldGardenArchipelago | |||
259 | { | 259 | { |
260 | static void Postfix(LevelSystems newLevel) | 260 | static void Postfix(LevelSystems newLevel) |
261 | { | 261 | { |
262 | if (newLevel.levelName == "World_905_EndingCollapseCutscene_Optimized") | ||
263 | { | ||
264 | Plugin.archipelagoManager.SendGoal(); | ||
265 | return; | ||
266 | } | ||
267 | |||
262 | Plugin.slotSave.VisitedScenes.Add(newLevel.levelName); | 268 | Plugin.slotSave.VisitedScenes.Add(newLevel.levelName); |
263 | 269 | ||
264 | if (GameData.listenersByScene.TryGetValue(newLevel.levelName, out var listeners)) | 270 | if (GameData.listenersByScene.TryGetValue(newLevel.levelName, out var listeners)) |