diff --git a/Source/Statics/Game.cs b/Source/Statics/Game.cs index 546dd00a..fc66e549 100644 --- a/Source/Statics/Game.cs +++ b/Source/Statics/Game.cs @@ -1,6 +1,5 @@ using System; using System.Collections.Generic; -using System.Linq; using Player = Assets.Scripts.Settings.PlayerSettingsManager; using InputManager = KTInputManager; using Manager = ModManager; @@ -83,7 +82,7 @@ public static class KTInputManager /// /// Determines if the current way the game is being controlled is VR-related. /// - public static bool IsCurrentControlTypeVR => CurrentControlType == ControlType.Gaze || CurrentControlType == ControlType.Motion || CurrentControlType == ControlType.ThreeDOF; + public static bool IsCurrentControlTypeVR => CurrentControlType is ControlType.Gaze or ControlType.Motion or ControlType.ThreeDOF; /// /// The current way the game is being controlled.