Skip to content

Commit

Permalink
Different FPFC check
Browse files Browse the repository at this point in the history
  • Loading branch information
Caeden117 committed Mar 25, 2021
1 parent 69610f4 commit 2f521a7
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ static void DisableAllNonImportantObjects(Transform original, Transform source,
songPreviewPlayer.CrossfadeToDefault();

// When not in FPFC, disable the Menu input, and re-enable the Tutorial menu input
if (!Environment.GetCommandLineArgs().Any(x => x.ToLower() == "fpfc"))
if (!Resources.FindObjectsOfTypeAll<FirstPersonFlyingController>().Any(x => x.isActiveAndEnabled))
{
vrInputModule.gameObject.SetActive(false);

Expand Down

0 comments on commit 2f521a7

Please sign in to comment.