2
0
Fork 0
mirror of https://github.com/KillzXGaming/Switch-Toolbox synced 2025-03-13 13:26:58 +00:00

Fix LM2 data searching

This commit is contained in:
KillzXGaming 2019-11-22 21:29:29 -05:00
parent f4506d9b63
commit 2432eca65f

View file

@ -551,7 +551,7 @@ namespace FirstPlugin.LuigisMansion.DarkMoon
string FolderPath = System.IO.Path.GetDirectoryName(ParentDictionary.FilePath);
string DataPath = System.IO.Path.Combine(FolderPath, $"{DataFile}");
if (System.IO.File.Exists(DataFile))
if (System.IO.File.Exists(DataPath))
{
using (var reader = new FileReader(DataPath)) {
return ReadDataFile(reader);