Skip to content

Commit

Permalink
Small fix
Browse files Browse the repository at this point in the history
  • Loading branch information
FelisDiligens committed Mar 8, 2023
1 parent 5069e2f commit a74d310
Showing 1 changed file with 14 additions and 1 deletion.
15 changes: 14 additions & 1 deletion Fo76ini/Profiles/GameInstance.cs
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,20 @@ public class GameInstance
public string Title = "Untitled";
public GameEdition Edition = GameEdition.Unknown;
public string GamePath = "";
public string ModsPath = "";
private string modsPath = "";
public string ModsPath
{
get
{
if (modsPath == "")
return GamePath;
return modsPath;
}
set
{
modsPath = value;
}
}
public string ExecutableName = "Fallout76.exe";
public string IniPrefix = "Fallout76";
public string IniParentPath = IniFiles.DefaultParentPath;
Expand Down

0 comments on commit a74d310

Please sign in to comment.