diff options
author | Star Rauchenberger <fefferburbia@gmail.com> | 2025-02-24 22:22:04 -0500 |
---|---|---|
committer | Star Rauchenberger <fefferburbia@gmail.com> | 2025-02-24 22:22:04 -0500 |
commit | c8747a9ff6a559d6104f729aad607150867e62e0 (patch) | |
tree | fa13bd5d1a6bd4f1d0427971747eda68ace7f2d6 /GameplayPatches.cs | |
parent | 2128897be0bb267e68b01cc6d9e94d3fe6faa8db (diff) | |
download | manifold-garden-archipelago-c8747a9ff6a559d6104f729aad607150867e62e0.tar.gz manifold-garden-archipelago-c8747a9ff6a559d6104f729aad607150867e62e0.tar.bz2 manifold-garden-archipelago-c8747a9ff6a559d6104f729aad607150867e62e0.zip |
Send goal in raymarchitecture
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)) |