1
0
mirror of https://github.com/originalnicodr/CinematicUnityExplorer.git synced 2026-10-10 13:03:15 +08:00

Update CursorUnlocker.cs

This commit is contained in:
Sinai
2021-04-29 21:05:53 +10:00
parent dba9bdbdc2
commit 0bc14b2f76
+3 -3
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()