Update CursorUnlocker.cs

This commit is contained in:
Sinai 2021-04-29 21:05:53 +10:00
parent dba9bdbdc2
commit 0bc14b2f76

View File

@ -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()