Skip to content

Commit 8fd1afd

Browse files
committed
Fixed faulty mouse look logic.
1 parent 8a595af commit 8fd1afd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎PulsarModLoader/Patches/GUIUnlockCursorPatches.cs‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ static bool PatchMethod()
3636
{
3737
if (CustomGUI.GUIMain.Instance == null) return false;
3838

39-
return !PLInput.Instance.GetButton(PLInputBase.EInputActionName.unlock_mouse) && CustomGUI.GUIMain.Instance.ShouldUnlockCursor();
39+
return PLInput.Instance.GetButton(PLInputBase.EInputActionName.unlock_mouse) || CustomGUI.GUIMain.Instance.ShouldUnlockCursor();
4040
}
4141
static IEnumerable<CodeInstruction> Transpiler(IEnumerable<CodeInstruction> instructions)
4242
{

0 commit comments

Comments
 (0)