Skip to content

Commit

Permalink
Fix error in patch, for compatibility with Escape the Dreamstalker
Browse files Browse the repository at this point in the history
  • Loading branch information
Raicuparta committed Oct 27, 2022
1 parent 9b61021 commit a59f5c7
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
9 changes: 8 additions & 1 deletion NomaiVR/EffectFixes/CameraMaskFix.cs
Original file line number Diff line number Diff line change
Expand Up @@ -111,16 +111,23 @@ public override void ApplyPatches()

private static void PostStartFastForwarding()
{
Locator.GetPlayerCamera().enabled = true;
var camera = Locator.GetPlayerCamera();
if (camera == null) return;

camera.enabled = true;
}

private static void PostOpenEyes()
{
if (instance == null) return;

instance.OpenEyes();
}

private static void PostCloseEyes(float animDuration)
{
if (instance == null) return;

instance.CloseEyesDelayed(animDuration);
}
}
Expand Down
2 changes: 1 addition & 1 deletion NomaiVR/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"title": "Before playing NomaiVR, some information:",
"body": "- Click the NomaiVR readme button in the Mod Manager for information about troubleshooting, requirements, performance, how to uninstall, etc.\n\n- Some VR controllers will have missing icons. Message us if you want to help us add icons for these devices.\n\n- If you have the game on Steam:\n--- Right-click Outer Wilds on your Steam library\n--- Select 'Properties...'\n--- Disable 'Use Desktop Game Theatre.'"
},
"version": "2.8.4",
"version": "2.8.6",
"owmlVersion": "2.3.0",
"requireVR": true
}

0 comments on commit a59f5c7

Please sign in to comment.