mirror of
https://github.com/NotAKidoS/NAK_CVR_Mods.git
synced 2025-09-02 14:29:25 +00:00
20 lines
No EOL
502 B
C#
20 lines
No EOL
502 B
C#
using ABI_RC.Core.Player;
|
|
using ABI_RC.Core.Savior;
|
|
using ABI_RC.Systems.IK.SubSystems;
|
|
using HarmonyLib;
|
|
|
|
namespace NAK.ControllerFreeze.HarmonyPatches;
|
|
|
|
class PlayerSetupPatches
|
|
{
|
|
[HarmonyPostfix]
|
|
[HarmonyPatch(typeof(PlayerSetup), nameof(PlayerSetup.Update))]
|
|
static void Postfix_PlayerSetup_Update()
|
|
{
|
|
if (MetaPort.Instance.isUsingVr)
|
|
{
|
|
BodySystem.TrackingLeftArmEnabled = true;
|
|
BodySystem.TrackingRightArmEnabled = true;
|
|
}
|
|
}
|
|
} |