diff options
-rw-r--r-- | GameplayPatches.cs | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/GameplayPatches.cs b/GameplayPatches.cs index e0767c4..c21bf97 100644 --- a/GameplayPatches.cs +++ b/GameplayPatches.cs | |||
@@ -234,4 +234,16 @@ namespace ManifoldGardenArchipelago | |||
234 | } | 234 | } |
235 | } | 235 | } |
236 | } | 236 | } |
237 | |||
238 | [HarmonyPatch(typeof(DarkModeCollider), nameof(DarkModeCollider.OnLevelUpdate))] | ||
239 | static class DarkModeColliderOnLevelUpdatePatch | ||
240 | { | ||
241 | static void Postfix(DarkModeCollider __instance) | ||
242 | { | ||
243 | if (__instance.gameObject.scene.name == "World_000_Optimized") | ||
244 | { | ||
245 | __instance.gameObject.SetActive(false); | ||
246 | } | ||
247 | } | ||
248 | } | ||
237 | } | 249 | } |