Skip to content

Commit

Permalink
Use OS path separator
Browse files Browse the repository at this point in the history
  • Loading branch information
HebaruSan committed Dec 29, 2021
1 parent 57bf514 commit ca18516
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Core/GameInstanceManager.cs
Original file line number Diff line number Diff line change
Expand Up @@ -623,7 +623,7 @@ public IGame DetermineGame(DirectoryInfo path, IUser user)
default:
// Prompt user to choose
int selection = user.RaiseSelectionDialog(
$"Please select the game that is installed at {path}",
$"Please select the game that is installed at {path.FullName.Replace('/', Path.DirectorySeparatorChar)}",
matchingGames.Select(g => g.ShortName).ToArray());
return selection >= 0 ? matchingGames[selection] : null;
}
Expand Down

0 comments on commit ca18516

Please sign in to comment.