fix broken submerged compat patch

This commit is contained in:
XtraCube committed 2025-04-01 17:03:13 -04:00
1 parent 89cd32d4a4
commit ce330325e4
1 file changed
+5
@@ -9,6 +9,11 @@ namespace MiraAPI.Patches.Events;
[HarmonyPatch]
internal static class SubmergedSpawnGamePatch
{
public static bool Prepare()
{
return ModCompatibility.SubmergedLoaded(out _);
}
public static IEnumerable<MethodBase> TargetMethods()
{
if (ModCompatibility.SubmergedLoaded(out var subAss) &&