We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 10e6c38 commit aed39daCopy full SHA for aed39da
1 file changed
Source/ModuleManagerWatchDog/Util/SanityLib.cs
@@ -63,7 +63,7 @@ orderby a.path ascending
63
public static bool CheckIsOnGameData(string path, string filename = null)
64
{
65
string fullpath = Path.GetFullPath(path);
66
- string[] subpaths = Path.GetDirectoryName(fullpath).Split(Path.PathSeparator);
+ string[] subpaths = Path.GetDirectoryName(fullpath).Split(Path.DirectorySeparatorChar);
67
return "GameData" == subpaths[subpaths.Length-1] && (null == filename) ? true : filename == Path.GetFileName(fullpath);
68
}
69
0 commit comments