Upload files to "Patches"

This commit is contained in:
Deez committed 2026-11-25 22:46:01 -05:00
1 parent 07baed88f8
commit f1a53b1283
4 files changed
+149

No files matched your search

+20
View File
@@ -0,0 +1,20 @@
using HarmonyLib;
namespace FortniteEmoteWheel.Patches;
public static class RigPatches
{
[HarmonyPatch(typeof(VRRig), nameof(VRRig.OnDisable))]
public static class RigDisablePatch
{
private static bool Prefix(VRRig __instance) =>
!__instance.isLocal;
}
[HarmonyPatch(typeof(VRRig), nameof(VRRig.PostTick))]
public static class RigPostTickPatch
{
private static bool Prefix(VRRig __instance) =>
!__instance.isLocal || __instance.enabled;
}
}