SupportDir supports absolute or relative paths; default to ~/OpenRA
This commit is contained in:
@@ -19,13 +19,14 @@
|
||||
#endregion
|
||||
|
||||
using OpenRA.FileFormats.Graphics;
|
||||
|
||||
using System;
|
||||
using System.IO;
|
||||
namespace OpenRA.GameRules
|
||||
{
|
||||
public class UserSettings
|
||||
{
|
||||
public readonly string SupportDir = null;
|
||||
|
||||
public readonly string SupportDir = Environment.GetFolderPath(Environment.SpecialFolder.Personal)
|
||||
+ Path.DirectorySeparatorChar + "OpenRA" + Path.DirectorySeparatorChar;
|
||||
// Debug settings
|
||||
public bool UnitDebug = false;
|
||||
public bool PathDebug = true;
|
||||
|
||||
Reference in New Issue
Block a user