From ce330325e48f9e4261d17f974e60c7dee2127a12 Mon Sep 17 00:00:00 2001 From: XtraCube <72575280+XtraCube@users.noreply.github.com> Date: Tue, 1 Apr 2025 17:03:13 -0400 Subject: [PATCH] fix broken submerged compat patch --- MiraAPI/Patches/Events/SubmergedSpawnGamePatch.cs | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/MiraAPI/Patches/Events/SubmergedSpawnGamePatch.cs b/MiraAPI/Patches/Events/SubmergedSpawnGamePatch.cs index d20c426..d2664b9 100644 --- a/MiraAPI/Patches/Events/SubmergedSpawnGamePatch.cs +++ b/MiraAPI/Patches/Events/SubmergedSpawnGamePatch.cs @@ -9,6 +9,11 @@ namespace MiraAPI.Patches.Events; [HarmonyPatch] internal static class SubmergedSpawnGamePatch { + public static bool Prepare() + { + return ModCompatibility.SubmergedLoaded(out _); + } + public static IEnumerable TargetMethods() { if (ModCompatibility.SubmergedLoaded(out var subAss) &&