replace patches that target shared native code (#711)

This commit is contained in:
Pietro420 authored and GitHub committed 2026-11-01 07:29:02 +01:00
1 parent fa0f7807fa
commit 19675a7434
2 files changed
+1 -13

No files matched your search

+1 -1
View File
@@ -80,7 +80,7 @@ internal static class AllMapIconsPatch
}
}
[HarmonyPatch(typeof(StringOption), nameof(StringOption.Start))]
[HarmonyPatch(typeof(StringOption), nameof(StringOption.Initialize))]
public static class AutoselectDleksPatch
{
public static void Postfix(StringOption __instance)
-12
View File
@@ -21,18 +21,6 @@ public static class MovingPlatformBehaviourPatch
}
}
[HarmonyPatch(nameof(MovingPlatformBehaviour.IsDirty), MethodType.Getter)]
[HarmonyPrefix]
public static bool GetIsDirtyPrefix(ref bool __result)
{
if (IsDisabled)
{
__result = false;
return false;
}
return true;
}
[HarmonyPatch(nameof(MovingPlatformBehaviour.Use), typeof(PlayerControl))]
[HarmonyPrefix]