Skip to content

Commit

Permalink
more cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisforbes committed Feb 4, 2011
1 parent c3c16c4 commit 3d5f00f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion OpenRA.Utility/Command.cs
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ public static void Settings(string[] args)
var section = args[2].Split('.')[0];
var field = args[2].Split('.')[1];
string expandedPath = args[1].Replace("~", Environment.GetFolderPath(Environment.SpecialFolder.Personal));
var settings = new Settings(expandedPath + Path.DirectorySeparatorChar + "settings.yaml", Arguments.Empty);
var settings = new Settings(Path.Combine(expandedPath,"settings.yaml"), Arguments.Empty);
var result = settings.Sections[section].GetType().GetField(field).GetValue(settings.Sections[section]);
Console.WriteLine(result);
}
Expand Down

0 comments on commit 3d5f00f

Please sign in to comment.