Skip to content

Commit

Permalink
Fixed detected setlist path being overridden by the lack of an argume…
Browse files Browse the repository at this point in the history
…nt (null)
  • Loading branch information
EliteAsian123 committed Aug 25, 2024
1 parent 042e6f2 commit 0946d79
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion Assets/Script/Persistent/GlobalVariables.cs
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,10 @@ protected override void SingletonAwake()
YargLogger.LogInfo("Playing in offline mode");
}

PathHelper.SetSetlistPathFromDownloadLocation(args.DownloadLocation);
if (!string.IsNullOrEmpty(args.DownloadLocation))
{
PathHelper.SetSetlistPathFromDownloadLocation(args.DownloadLocation);
}

// Initialize important classes

Expand Down

0 comments on commit 0946d79

Please sign in to comment.