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:
parent
f4506d9b63
commit
2432eca65f
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Reference in a new issue