Allow a local support dir inside the game root. Fixes #3673.

This commit is contained in:
Paul Chote
2013-08-16 17:36:56 +12:00
parent 179fbc06ea
commit fbc02957a2

View File

@@ -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)