From 0bc14b2f7658bf1a473c85474a014d89f0086fd1 Mon Sep 17 00:00:00 2001 From: Sinai Date: Thu, 29 Apr 2021 21:05:53 +1000 Subject: [PATCH] Update CursorUnlocker.cs --- src/Core/Input/CursorUnlocker.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/Core/Input/CursorUnlocker.cs b/src/Core/Input/CursorUnlocker.cs index 1adee8e..72ee097 100644 --- a/src/Core/Input/CursorUnlocker.cs +++ b/src/Core/Input/CursorUnlocker.cs @@ -42,15 +42,15 @@ namespace UnityExplorer.Core.Input public static void Init() { - if (ConfigManager.Aggressive_Force_Unlock.Value) - SetupAggressiveUnlock(); - SetupPatches(); UpdateCursorControl(); Unlock = ConfigManager.Force_Unlock_Mouse.Value; ConfigManager.Force_Unlock_Mouse.OnValueChanged += (bool val) => { Unlock = val; }; + + if (ConfigManager.Aggressive_Force_Unlock.Value) + SetupAggressiveUnlock(); } public static void SetupAggressiveUnlock()