mirror of
https://github.com/NotAKidoS/NAK_CVR_Mods.git
synced 2026-03-22 23:56:50 +00:00
only run in vr
This commit is contained in:
parent
7abac42d01
commit
e54198a263
1 changed files with 3 additions and 0 deletions
|
|
@ -1,5 +1,6 @@
|
|||
using System.Reflection;
|
||||
using ABI_RC.Core.InteractionSystem;
|
||||
using ABI_RC.Core.Savior;
|
||||
using ABI_RC.Systems.InputManagement;
|
||||
using ABI_RC.Systems.Movement;
|
||||
using HarmonyLib;
|
||||
|
|
@ -25,6 +26,8 @@ public class ESCBothMenusMod : MelonMod
|
|||
|
||||
private static void OnPreViewManagerUpdate()
|
||||
{
|
||||
if (MetaPort.Instance.isUsingVr) return;
|
||||
|
||||
if (CVRInputManager.Instance.mainMenuButton
|
||||
&& !BetterBetterCharacterController.Instance.IsSittingOnControlSeat())
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue