Allow a local support dir inside the game root. Fixes #3673.
This commit is contained in:
@@ -49,6 +49,10 @@ namespace OpenRA
|
|||||||
{
|
{
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
|
// Use a local directory in the game root if it exists
|
||||||
|
if (Directory.Exists("Support"))
|
||||||
|
return "Support" + Path.DirectorySeparatorChar;
|
||||||
|
|
||||||
var dir = Environment.GetFolderPath(Environment.SpecialFolder.Personal);
|
var dir = Environment.GetFolderPath(Environment.SpecialFolder.Personal);
|
||||||
|
|
||||||
switch (CurrentPlatform)
|
switch (CurrentPlatform)
|
||||||
|
|||||||
Reference in New Issue
Block a user