1
0
mirror of synced 2024-09-24 11:38:22 +02: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);