This commit is contained in:
strongleong 2022-02-07 00:06:49 +11:00
parent f6a7037dbc
commit 73ccf99efc
1 changed files with 2 additions and 0 deletions

View File

@ -64,12 +64,14 @@ namespace ScrapModLoader
if (displayName == "Scrapland") if (displayName == "Scrapland")
{ {
ScraplandPath = subkey.GetValue("InstallLocation")?.ToString() ?? ""; ScraplandPath = subkey.GetValue("InstallLocation")?.ToString() ?? "";
Settings.Default.ScraplandPath = ScraplandPath;
isFound = true; isFound = true;
} }
if (displayName == "Scrapland Remastered") if (displayName == "Scrapland Remastered")
{ {
ScraplandRemasteredPath = subkey.GetValue("InstallLocation")?.ToString() ?? ""; ScraplandRemasteredPath = subkey.GetValue("InstallLocation")?.ToString() ?? "";
Settings.Default.ScraplandRemasteredPath = ScraplandRemasteredPath;
isFound = true; isFound = true;
} }
} }