Skip to content

Commit

Permalink
dotnet-format
Browse files Browse the repository at this point in the history
  • Loading branch information
andybak committed Oct 11, 2024
1 parent 1f81609 commit 97be70f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Assets/Scripts/model/main/PeltzerMain.cs
Original file line number Diff line number Diff line change
Expand Up @@ -651,7 +651,7 @@ void Start()
filePickerBackgroundThread.IsBackground = true;
filePickerBackgroundThread.Priority = System.Threading.ThreadPriority.Lowest;
filePickerBackgroundThread.Start();

// Set up auto-saving.
userPath = GetUserPath();

Expand Down Expand Up @@ -710,7 +710,7 @@ void Start()
// Try to perform the setup. If we fail, that's ok, we'll try again in Update() until we succeed.
TrySetup();
}

/// <summary>
/// Gets the user path depending on the platform.
/// </summary>
Expand All @@ -721,7 +721,7 @@ private string GetUserPath()
return Application.persistentDataPath;
#else
userPath = System.Environment.GetFolderPath(System.Environment.SpecialFolder.Personal);

// GetFolderPath() can fail, returning an empty string.
if (userPath == "")
{
Expand Down

0 comments on commit 97be70f

Please sign in to comment.