mirror of
https://github.com/Gurge44/EndlessHostRoles.git
synced 2026-11-19 13:16:56 +00:00
replace patches that target shared native code (#711)
This commit is contained in:
1 parent
fa0f7807fa
commit
19675a7434
2 files changed
+1
-13
No files matched your search
@@ -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)
|
||||
|
||||
@@ -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]
|
||||
|
||||
Reference in new issue
Block a user