There was an error while loading. Please reload this page.
1 parent 8a595af commit 8fd1afdCopy full SHA for 8fd1afd
PulsarModLoader/Patches/GUIUnlockCursorPatches.cs
@@ -36,7 +36,7 @@ static bool PatchMethod()
36
{
37
if (CustomGUI.GUIMain.Instance == null) return false;
38
39
- return !PLInput.Instance.GetButton(PLInputBase.EInputActionName.unlock_mouse) && CustomGUI.GUIMain.Instance.ShouldUnlockCursor();
+ return PLInput.Instance.GetButton(PLInputBase.EInputActionName.unlock_mouse) || CustomGUI.GUIMain.Instance.ShouldUnlockCursor();
40
}
41
static IEnumerable<CodeInstruction> Transpiler(IEnumerable<CodeInstruction> instructions)
42
0 commit comments