diff --git a/ml_lme/LeapInput.cs b/ml_lme/LeapInput.cs index d760245..a97e86d 100644 --- a/ml_lme/LeapInput.cs +++ b/ml_lme/LeapInput.cs @@ -29,7 +29,7 @@ namespace ml_lme public override void ModuleAdded() { base.ModuleAdded(); - base.InputEnabled = Settings.Enabled; + base.InputModuleEnabled = Settings.Enabled; base.HapticFeedback = false; m_inVR = Utils.IsInVR(); @@ -159,7 +159,7 @@ namespace ml_lme public override void UpdateInput() { - if(base.InputEnabled) + if(base.InputModuleEnabled) { LeapParser.LeapData l_data = LeapManager.Instance.GetLatestData(); @@ -360,7 +360,7 @@ namespace ml_lme // Settings changes void OnEnableChanged(bool p_state) { - base.InputEnabled = p_state; + base.InputModuleEnabled = p_state; m_handVisibleLeft &= p_state; m_handVisibleRight &= p_state; diff --git a/ml_lme/Properties/AssemblyInfo.cs b/ml_lme/Properties/AssemblyInfo.cs index 2f98499..c3779b6 100644 --- a/ml_lme/Properties/AssemblyInfo.cs +++ b/ml_lme/Properties/AssemblyInfo.cs @@ -1,4 +1,4 @@ -[assembly: MelonLoader.MelonInfo(typeof(ml_lme.LeapMotionExtension), "LeapMotionExtension", "1.6.2", "SDraw", "https://github.com/SDraw/ml_mods_cvr")] +[assembly: MelonLoader.MelonInfo(typeof(ml_lme.LeapMotionExtension), "LeapMotionExtension", "1.6.3", "SDraw", "https://github.com/SDraw/ml_mods_cvr")] [assembly: MelonLoader.MelonGame(null, "ChilloutVR")] [assembly: MelonLoader.MelonPlatform(MelonLoader.MelonPlatformAttribute.CompatiblePlatforms.WINDOWS_X64)] [assembly: MelonLoader.MelonPlatformDomain(MelonLoader.MelonPlatformDomainAttribute.CompatibleDomains.MONO)] diff --git a/ml_lme/ml_lme.csproj b/ml_lme/ml_lme.csproj index 9b99f1b..0c8b5a8 100644 --- a/ml_lme/ml_lme.csproj +++ b/ml_lme/ml_lme.csproj @@ -4,7 +4,7 @@ netstandard2.1 x64 LeapMotionExtension - 1.6.2 + 1.6.3 SDraw SDraw LeapMotionExtension