From 8fd1afdfa99712b81dd3ab1189d768a9baa710d4 Mon Sep 17 00:00:00 2001 From: DragonFire47 <46509577+DragonFire47@users.noreply.github.com> Date: Tue, 19 Nov 2024 01:25:37 -0800 Subject: [PATCH] Fixed faulty mouse look logic. --- PulsarModLoader/Patches/GUIUnlockCursorPatches.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PulsarModLoader/Patches/GUIUnlockCursorPatches.cs b/PulsarModLoader/Patches/GUIUnlockCursorPatches.cs index dba9d44..0ac1766 100644 --- a/PulsarModLoader/Patches/GUIUnlockCursorPatches.cs +++ b/PulsarModLoader/Patches/GUIUnlockCursorPatches.cs @@ -36,7 +36,7 @@ static bool PatchMethod() { if (CustomGUI.GUIMain.Instance == null) return false; - return !PLInput.Instance.GetButton(PLInputBase.EInputActionName.unlock_mouse) && CustomGUI.GUIMain.Instance.ShouldUnlockCursor(); + return PLInput.Instance.GetButton(PLInputBase.EInputActionName.unlock_mouse) || CustomGUI.GUIMain.Instance.ShouldUnlockCursor(); } static IEnumerable Transpiler(IEnumerable instructions) {