Skip to content

Commit

Permalink
Fixed faulty mouse look logic.
Browse files Browse the repository at this point in the history
  • Loading branch information
Nagord committed Nov 19, 2024
1 parent 8a595af commit 8fd1afd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion PulsarModLoader/Patches/GUIUnlockCursorPatches.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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<CodeInstruction> Transpiler(IEnumerable<CodeInstruction> instructions)
{
Expand Down

0 comments on commit 8fd1afd

Please sign in to comment.